NextJS – Google maps dynamically change the color of markers
In my nextJS app, I load my map via the @googlemaps/js-api-loader
package. I have a list of locations I want to plot on the map, and at the same time have a list of them disabled on the left side of my page.