Skip Navigation

[Resolved] Correcting the map zoom level

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by maxfieldB 5 years, 1 month ago.

Assisted by: Nigel.

Author
Posts
#1354455
zoomed.jpg

Tell us what you are trying to do?
Trying to view my map with the map zoomed to only include my markers. However the map is overly-zoomed out when I load the page, around 50% zoomed out from the furthest markers (image attached)

Is there any documentation that you are following?
No.

Is there a similar example that we can see?
you can go to the homepage of this site to see the issue

What is the link to your site?

hidden link

#1354621

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-10-03 at 09.20.14.png

Hi Max

I just visited the page, and the map zoom looked correct to me (screenshot).

Google Maps have discreet zoom levels, they are not continuous.

If I press the + button to zoom in one more level then some of the markers are lost outside of the visible map area.

So the map zoom is automatically set to the closest level.

You can override this automatic zoom (fitbounds) using the general_zoom attribute.

https://toolset.com/documentation/user-guides/maps-shortcodes/#wpv-map-render

#1356135

Yes, thank you Nigel - the strange this is that the map was very zoomed out previously, but as you mention - now it is fine :/

Thank you anyway, for your help. Now I at least have these instructions, for if it happens again.

Cheers!
Max