I’m trying to create a map with different filters (similar to Google Maps with Restaurants, Groceries, etc.). However I cannot find a way to hide / display markers on the map depending on their category button being tapped / untapped. Please find the example below:
I would ideally want all map markers to be hidden unless the top button “Landmark” is being tapped. In that case, I would like the markers “Place de la Concorde”, “Hotel des Invalides”, etc. to appear on the map.
Is there an easy way to make this happen? My apologies if this question has been raised before, I could not find any related topic on this forum or on the web.
Thank you in advance for your help!