I have a custom Google map with markers of artist locations. I want to make 8 different categories of markers. I read about having to make arrays of markers and assigning a
you can store them in an array and toggle the visbility with marker.setMap(null) for invisible and marker.setMap(map) for visible.
see the example from the docs: https://developers.google.com/maps/documentation/javascript/examples/marker-remove