• What happens when there are multiple marks to show at the same point? Do they all disappear behind one mark?
    Is there any way to shift each a little or have a circle to show a number?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor hupe13

    (@hupe13)

    One possibility would be to cluster the markers.

    Thread Starter bobjgarrett

    (@bobjgarrett)

    This looks brilliant but I am struggling to get it to work.
    Do I simply need to add
    [cluster radius=90 disableClusteringAtZoom=10]
    [zoomhomemap]
    after the list of [leaflet-marker… ] points?

    Thanks

    Plugin Contributor hupe13

    (@hupe13)

    Yes. The first command is [leaflet-map ...] of course. ??

    Thread Starter bobjgarrett

    (@bobjgarrett)

    Silly me, I did notice this was an extra plugin to install!

    One question though… if 3 or 4 are at exactly the same location I assume some will always be hidden from being able to click on them for details?

    Plugin Contributor hupe13

    (@hupe13)

    Please play with the options spiderfyOnMaxZoom and disableClusteringAtZoom and [leaflet-map max_zoom=... ].

    Thread Starter bobjgarrett

    (@bobjgarrett)

    Thanks for the prompt reply. I am struggling with this now.
    Do I need to install extra files? Maybe just the .js file or is it already installed with the Extension?
    Do I just add spiderfyOnMaxZoom into the cluster shortcut?

    Plugin Contributor hupe13

    (@hupe13)

    If you have the two plugins installed, you should use the shortcodes like:

    [leaflet-map height=500 max_zoom=9 fitbounds]
    [leaflet-marker lat=...  lng=...   ]xxx[/leaflet-marker] //many markers
    [cluster radius=90 disableClusteringAtZoom=10 spiderfyOnMaxZoom]
    [zoomhomemap fit]
    [fullscreen]

    I realize I need to write an even better documentation. ??

    Thread Starter bobjgarrett

    (@bobjgarrett)

    Magic. It was the max_zoom interaction causing it not to work.
    Many thanks.
    Super plugins.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multiple marks at same point’ is closed to new replies.