tracking-exposed / krgotrex

analysis of website, report if google third parties are present. campaign for cleaner web
https://kreuzberg.google.tracking.exposed
4 stars 1 forks source link

make the map automatically render #15

Open vecna opened 5 years ago

vecna commented 5 years ago

When accessing to the map page: https://kreuzberg.google.tracking.exposed/de/map

the map get visualized only if the browser is resized. how comes? do you have any experience with this @bnvk ?

Groschenroman commented 5 years ago

@vecna @bnvk Currently I trigger a fake resize event. But that is more of a hack than a solution. And it is unreliable as well.

vecna commented 5 years ago

<3 hacks are the foundation of everything

vecna commented 5 years ago

It might work, but it is executed when the website loads. It should be triggered when we actually render the map (and the entry vectors of the map are two: clicking on the tab or reaching the URL)