Toggle visibility of single markers in the map

If you want to display only one marker at a time, you can use some custom JS to hide all markers and display only one at a time and toggle between them using the list or dropdown feature.

To achieve this you can add the following code to your map, changing the ID of your map and the name of the marker you want to use by default.

Posted by Carlos Moreira

Lead developer of Interactive Geo Maps plugin.

Leave a Reply

Your email address will not be published.