I have been working on creating custom Google maps with the concept of incorporating 3 distinct markers such as forests, rivers, and lakes.
While I have successfully added these custom markers using a helpful tutorial, I am now facing a challenge with sorting these markers. My goal is to have specific markers appear based on the category selected, for example, clicking on the "forest" link will display only forest-related markers on the map. I have tried searching for solutions online but have not found exactly what I need. Any assistance with this issue would be greatly appreciated.