Skip Navigation

[Waiting for user feedback] Maps clustering not working. displaying clusters of two for single markers.

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 5 replies, has 1 voice.

Last updated by Minesh 7 hours, 22 minutes ago.

Assisted by: Minesh.

Author
Posts
#2805629

I am trying to: Create a map using Google Maps with Toolset Maps

Link to a page where the issue can be seen: hidden link

I expected to see: Individual markers when zooming in on specific locations.

Instead, I got: Cluster markers displaying 2 for individual location markers.

#2805777

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Welcome to Toolset support. Would you please explain to us how you added the clustering feature so we might be able to find why the problem happens?

Also I wonder if there are two addresses that are the same? If so then the way now it shows will be correct as there are two entries with the same address.

Finally, please make sure you have the latest version of Toolset and Toolset addons.

Thanks.

#2806032

Here is the code. There are no duplicate addresses.

[wpv-layout-start]
[wpv-items-found]
[wpv-map-render map_id="directory-map" map_type_control="off" street_view_control="off" map_type_control="off" street_view_control="off" cluster="on" cluster_grid_size="25" general_zoom="8" cluster_max_zoom="14" single_zoom="14" background_color="#f5f5f5" map_height="440"]
[wpv-map-marker map_id='map-13' marker_id='marker-8' map_render='immediate' current_visitor_location='true'][/wpv-map-marker]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-map-marker map_id='directory-map' marker_id='directory-map' marker_title='[wpv-post-title]' marker_field='wpcf-address']<h6>[wpv-post-title]</h6>[/wpv-map-marker]
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]

#2806192

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

You can check the cluster option "cluster_max_zoom" and play with it and check if you get the desired results:
- https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-render

#2806245

Hi Minesh,

Cluster Max Zoom is already set to 14. I have tried other values with no success. However, the issue seems to have nothing to do with this at all. The map is showing two results for single items which is resulting in clusters being applied to single items. The numbers are out at all zoom levels.

#2806456

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Do you have multiple markers added on the same spot?

Can you please share a video that should help me to understand the issue showing with what markers you have issue with and send me admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.