Skip Navigation

[Resuelto] Can’t zoom into markers when addresses too close

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem: I'm displaying a map with cluster markers, but I would like to show distinct markers when zoomed in.

Solution: One option is to use the cluster_max_zoom attribute on the wpv-map-render shortcode. This option can be used to break apart clusters when zoomed in past a certain level. It's in the clustering options in the map shortcode popup, or you can set it manually like this:

[wpv-map-render map_id="map-1" cluster="on" cluster_max_zoom="14"][/wpv-map-render]

You can experiment with the numeric value to see what works best for your content.

Another option is you can use the spiderfy feature to spread out markers that are in identical locations.

Relevant Documentation:
https://toolset.com/documentation/user-guides/display-on-google-maps/displaying-markers-on-google-maps/#grouping-close-markers-into-clusters

This support ticket is created hace 5 años, 10 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por nicholasM hace 5 años, 10 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#1179328
map3.PNG
map2.PNG
map1.PNG

When I go to my map enlace oculto and I have a cluster of addresses that are too close I can't get it too zoom in to individual map markers when the addresses are really close. If I go to no clusters it works fine, it's like I need the cluster to break apart at an earlier map zoom level or something?

#1179443

Hi, one option is to use the cluster_max_zoom attribute on the wpv-map-render shortcode. This option can be used to break apart clusters when zoomed in past a certain level. It's in the clustering options in the map shortcode popup, or you can set it manually like this:

[wpv-map-render map_id="map-1" cluster="on" cluster_max_zoom="14"][/wpv-map-render]

You can experiment with the numeric value to see what works best for your content.

Another option is you can use the spiderfy feature to spread out markers that are in identical locations. We have some documentation about that available here: https://toolset.com/documentation/user-guides/display-on-google-maps/displaying-markers-on-google-maps/#grouping-close-markers-into-clusters

#1180193

My issue is resolved now. Thank you!