• Is there a way to add a shortcode link (ie) [blabla] to the click function for a specific map marker? When a user clicks on a map with multiple markers I want it to invoke the opening of the side menu or a custom pop-up… I hope thats understandable… thanks for the help in advance.

    • This topic was modified 4 years, 11 months ago by xtremeweather.
    • This topic was modified 4 years, 11 months ago by xtremeweather.
    • This topic was modified 4 years, 11 months ago by xtremeweather.

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor hupe13

    (@hupe13)

    You can make a popup with an URL:
    [leaflet-marker ...]<a href="https://your-domain.tld/path/">description</a>[/leaflet-marker]
    An image is also possible, e.g.:
    [leaflet-marker ...]<div style=width:15ch;>description</div> <br><img style="max-height:15ch;max-width:15ch;object-fit:cover;" src="https://UPLOAD_URL/path/image-150x150.png" alt="image">[/leaflet-marker]
    Or a combination of both.
    But I don’t know, how to make a side menu.

Viewing 1 replies (of 1 total)

The topic ‘Marker Icon Click Link’ is closed to new replies.