waqas jamil
waqas jamil

Reputation: 423

google map doesn't appear if browser zoom 110%

http://www.desertrat-aev.com/?page_id=241 this link has a map, if I open this link and zoom the browser to 100% even to 110%, it works perfectly fine. BUT, if I zoom the browser to 110% and then open this link, google maps doesn't seem to appear, what could be the reason for this?

Upvotes: 4

Views: 130

Answers (2)

Hamid Ejaz
Hamid Ejaz

Reputation: 88

Hay Try this when form page is loaded i think you are using wordpress. so first your page will load then initialize google map.

setTimeout(function() { addLoadEvent(loadMap); }, 1000);
setTimeout(function() { addLoadEvent(addPoints); }, 1000);

Upvotes: 2

Error Overflow
Error Overflow

Reputation: 41

You're using setTimeout

setTimeout(function() { addLoadEvent(loadMap); }, 1000);
setTimeout(function() { addLoadEvent(addPoints); }, 1000);

Values in addPoints methods may have changed when map has loaded.

You might want to use marker-animations-iteration instead.

Upvotes: 2

Related Questions