How can where you live affect the chance of getting cancer?!
Pretty easily if you live in highly polluted areas, or in an environment where things like smoking are rife.
Can't say I know a reason why living on a former rubbish dump would be a carcinogenic hazard. I mean, the ground is firmly pressed and covered and a foundation made on top. It's not like your outside is literally a dump.
OP, just because your grandparents died of cancer it doesn't mean you're likely too.
There might be a genetic predisposition, but that won't change regardless of where you live.
Your grandparents also had different lifestyles. They likely smoked a lot, and more than is normal today, possibly with unfiltered cigarettes. They might have worked more with industrial chemicals, if they worked in factories which was much more common for that era.
I dont know what sort of cancer they had, but all sorts of personal lifestyle choices can affect the likelihood of developing cancer, and so too can just getting old.
There's no real reason to assume your neighbourhood is likely to give you cancer.