DMXzone Google Maps 2 Support Product Page

Not a problem

Map doesn't stay centred on browser re-size?

Reported 16 Nov 2015 15:06:40
1
has this problem
16 Nov 2015 15:06:40 Nathon Jones posted:
When my map opens, the main marker location is centered - great! However, when I re-size the browser window the map stays in it's original position:
www.nathonjoneswebdesign.co.uk/littlelaight/Cairnryan-Stranraer-Scotland.php

Is it possible to have the map respond to a user re-sizing their browser?

Thank you
NJ

Replies

Replied 16 Nov 2015 15:16:36
16 Nov 2015 15:16:36 Teodor Kuduschiev replied:
Hello Nathon,
Unfortunately that's not possible. That is how google is handling the map resizing.
But you do not really need this anyway ... people are either loading your page on desktop or on mobile device etc. So they always get the map centered on load.
Replied 16 Nov 2015 16:41:15
16 Nov 2015 16:41:15 Nathon Jones replied:
Centred on load will have to do. Thanks Teodor.
Apologies for posting in the wrong place. Assumed this was a problem with the map.
NJ

Reply to this topic