• Resolved mbuttin

    (@mbuttin)


    Hi,

    Thanks to your previous answer, I manage to insert my map on the header of my site : planetfairway.com (it appears after 2sec – don’t appear on mobile or tablet)

    I got a problem with this (tiny) map.
    When I click on the yellow 14, then on the yellow 12, then on the yellow 10, and one more on the yellow 10, the map is stuck and don’t show the pins or next clusters.

    Could you look and give me an advice ?

    Best regards

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    If the popup is not being loaded in mobiles devices, you should check the styles or settings in the plugin that manages the popups.

    I’ve checked the other maps you have inserted in the webpage, and the cluster are working fine on them, however the map that is inserted into the popup requires a double-click in the cluster icons to work, so, I assume that the popup is intercepting the clicks in some way.

    To prevent this issue would be required edit your copy of the plugin, please, follow the steps below:

    1. Open the “/wp-content/plugins/codepeople-post-map/js/markerclusterer_compiled.js” file with the text editor of your choice.

    2. Go to the piece of code:

    if(mc.getZoomOnClick()){

    and modify it as follows:

    if(mc.getZoomOnClick()){ mc.getMap().setZoom(mc.getMap().getZoom()+1);

    3. Finally, clear the browser’s cache after edit the online file.

    and that’s all.
    Best regards.

    Thread Starter mbuttin

    (@mbuttin)

    You’re the best, it works fine.

    For the mobile, it is intended that it does not appear, sorry for the misunderstood.

    Plugin Author codepeople

    (@codepeople)

    Hello,

    Thank you very much for letting me know that all is working fine now.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cluster disapear after several clicks’ is closed to new replies.