Skip Navigation

[Assigned] Toolset Google map views issues

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 8 replies, has 1 voice.

Last updated by poM 15 hours, 33 minutes ago.

Assisted by: Minesh.

Author
Posts
#2822167

poM

Hi,

I face issues on a ToolsetGoogle map views rendered by the following shortcode:

[wpv-map-render map_id='map-biens' map_width='100%' map_height='100%' style_json="/wp-content/themes/houzez-child/maps/custom.json" cluster='on' background_color='#fff' cluster_min_size='1' cluster_grid_size='1' cluster_click_zoom='off' map_type_control='off' full_screen_control='off' zoom_control='on' map-type='roadmap' street_view_control='off' scrollwheel='off' double_click_zoom='off' fitbounds='off' general_zoom='11' general_center_lat='46.25020029526707' general_center_lon='6.40011801530962'][/wpv-map-render]

The issue might be viewed here: hidden link

1. Cluster click zoom should be disabled but doesn't work
2. When zooming on the map, you might see new clusters which are not rendered at the default zoom level

Thanks in advance for your precious help.

#2822183

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

First of all, based on the debug information you shared I find that you are using the outdated Toolset plugins. We always recommend running your site with the latest stable release plugin version.

*** Please make a FULL BACKUP of your database and website.***

Could you please update ALL Toolset plugins to it's latest officially released version. You can download the latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/

Alternatively, You can install/update Toolset pluigins by following the instructions given with the following link:
- https://toolset.com/faq/how-to-install-and-register-toolset/#automatic-installation-once-you-have-otgs-installer-plugin-installed

Regarding your query, please check the official doc:
- https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-render

Please check the attributes and its explanations:

cluster_min_size.
- Optional, defaults to 2. Minimum number of markers that can get wrapped into a cluster.

cluster_click_zoom.
Optional, defaults to on , can be on or off. This attribute sets whether clicking on a cluster should zoom it. By design, it sets the fitbounds value of the map based on the markers contained in that cluster. Sometimes, this attribute needs to be used together with the cluster_max_zoom attribute to dissolve a cluster when markers are too close.

cluster_max_zoom.
- Optional, defaults to empty. When cluster is set to on , this attribute sets the minimum zoom level that dissolves clusters into individual markers again.

cluster_grid_size.
- Optional. Defaults to 60 (pixels). When cluster is set to on, this attribute sets the minimum distance in pixels between two markers to join them into the same cluster.

cluster.
- Optional, defaults to off . Can be on or off . When set to on, markers close enough based on some rules will be rendered as a cluster.

The default cluster_min_size is 2 and if you use 1 there is no point of making cluster if there is only 1 marker. You use cluster_grid_size='1' but its in pixel default to 60 pixels.

#2822186

poM

Hi,
I have just upgraded all Toolset plugins to their latest version.
I don't understand why cluster_click_zoom works as it it disabled.
We need clusters with only one marker, it uses to work properly. Is it a problem?
Cheers.

#2822187

Minesh
Supporter

Languages: English (English )

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

I'm not sure where exactly the issue is.

Can you please share problem URL and admin access details and tell me what is your expected result and let me review whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) 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.

#2822191

poM

Please note that we have just launched a hosting platform migration and thus the website wiil be unavailable for a few hours.

#2822207

poM

The staging environment is now available.

#2822352

poM

Hi,
Any update on this issue?

#2822359

Minesh
Supporter

Languages: English (English )

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

I've added the following custom JS code to your view's custom Javascript editor:
- hidden link

jQuery(document).ready(function() {
  
   WPViews.view_addon_maps.cluster_options['map-biens'].zoomOnClick = false;
 
 
});

Can you please confirm it works as expected.

#2822364

poM

Hi,
Thanks for your feedbak.
This solves the cluster click zoom issue.
Do you have any idea why my cluster are not rendering properly at zoom level 10 ?
Cheers.