Skip Navigation

[Resolved] Understand the zooming of the map better.

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 5 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#1371145
Screen Shot 2019-10-27 at 2.22.11 PM.png

Tell us what you are trying to do?
Is there a way we can better understand how the map zooms based on the markers included. Sometimes, the map zoom works quite well, however other times, the map is overly-zoomed out (see attached picture)

Is there any documentation that you are following?
No

Is there a similar example that we can see?
No

What is the link to your site?
hidden link

#1371261

Hi there,

Thank you for contacting us and I'd be happy to assist.

You'll find more information on this point, in the documentation of the map's shortcode "wpv-map-render":
https://toolset.com/documentation/user-guides/maps-shortcodes/#wpv-map-render

By default, the "fitbounds" parameter is set to "on", which means that the map's center point and zoom level are calculated automatically so that all the available markers can be shown while maintaining the closest possible zoom level.

It is possible to change the "fitbounds" to "off", but in that case, you'll also need to manually specify the map's default zoom level through "general_zoom" and the central location through the "general_center_lat" and "general_center_lon" parameters, which can become tricky when a large number of markers are involved.

I hope this clarifies and please let me know if you need any further assistance around this.

regards,
Waqar