Toggle the categories shown?
-
Love the plugin. Is it possible to have a toggle control so users can choose which markers are shown?
In my code I have several categories
[travelers-map cats=hikes,restaurants,hotels]
That works perfectly. But I’d like to offer a button on the map so visitors can turn off hikes, for example.
Looking at
cttm_map[0]
I can see all the markers – but I can’t see anything which indicates which category they are in. Is there any way to use JS to get the category of a marker and remove / add them to the map?Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Toggle the categories shown?’ is closed to new replies.