I switched from google maps to OSM now cluster and zoom are not working. Any solution?
Was using this shortcode with google maps and that is working fine on hidden link
[wpv-map-render map_id="map-alle-projecten" map_height="520px" fitbounds="off" general_zoom="3" single_zoom="6" cluster="on" spiderfy="on"][/wpv-map-render]
Now just testing in local development environment (partin.test) so result is not visible.
Kind regards, hrbrt
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/
Okay, issue is already resolved. The local install was not up to date for the plugins. After update it works.
Thank
sorry I was to quick the old google map was still loading... so issue is not resolved just yet.
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Can you point me out what exactly is not working.
Here is a sandbox site and you can auto-login to it using the follwing link:
- hidden link
Can you please build a test page that should help me to see the issue. You can add required plugins and content.
I switched from google maps to OSM now cluster and zoom are not working. Any solution?
Was using this shortcode with google maps and that is working fine on hidden link
[wpv-map-render map_id="map-alle-projecten" map_height="520px" fitbounds="off" general_zoom="3" single_zoom="6" cluster="on" spiderfy="on"][/wpv-map-render]
- when using OSM it looks like image 1. (no clustering, strange zoom on Afrika).
- when using google maps it looks like image 2. (clustering and correct zoom).
Is this a known bug when using OSM that the shortcode options 'cluster' and 'general_zoom' are NOT working?
Any solution?
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
We do have issues with OpenStreet maps but not with cluster.
Can you please share admin access details let me check whats going wrong with your setup.
As I stated this is set up in a local environment. I just need to know how to solve the cluster and zoom issue. I guess more users will have this problem. The shortcode works perfectly in google maps just when switching to OSM is does not cluster or zoom.
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
I've patched version but its still not recomonded to use on the production/live site, but as you are testing with local installation.
With the sandbox site I shared previously with autologin link:
- https://toolset.com/forums/topic/openstreetmap-cluster-zoom/#post-2858155
You can login to it and navigate to plugins page where I've uploaded the pathched version of Toolset Maps plugin. You can download the Toolset Maps plugins and install on your local site and check and see if issue is fixed or not:
- hidden link
I will test that version and let you know asap.
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Ok fine - please let me know how it goes.
Just tested it, but it is not working. It gives the same result as the previous version.
Do I have to change something in the shortcode?
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
What if you try to add the following attribute to your map's shortcoce: cluster_max_zoom="14"
I've tested this with the following page and I can see it works:
- hidden link
The following view is added to above page:
- hidden link