Filtering Google Map markers by categories

On the ramblings site, you will find lots of downloadable examples and explanations dealing with connecting Excel to Google Maps and Earth.

Following numerous requests on our forum, here’s how to filter google markers according to categories in your data.


Create a column in your data which you can populate with category names of your choosing to be used in a combo box.

.

That’s all there is to it. Now when you select a category, only the markers that belong to that category wil be visible. Take a look at the code and detailed explanation of how this is done.
About brucemcp 223 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


two × 2 =