Reply To: Centering + Zoom not working on development site

Home Forums MapPress Support Centering + Zoom not working on development site Reply To: Centering + Zoom not working on development site

#20742
Chris
Keymaster

Hi,

I think I see the problem: most sites use a single KML layer, so by default the map centers on that layer when it’s loaded (which is usually what people want).

At the link you provided, the map centers and then one of the KML layers is loaded. The layer includes some small islands in the Bering Sea, which probably causes the map to zoom way out to include them.

On the other site, the KMLs may load faster, so the map centers *after* they load. But it’s hard to say without the URL.

Please use the contact form to send an admin login to the dev site, and I’ll try to implement a fix. I think the solution is probably to have the plugin ignore the KML bounds when a specific map center is set.