I’m using a map with multiple markers on. These markers are being called from a google sheet database. After someone presses one of the markers i would like it to change colour to show it has been pressed.
So far I have been able to change all the markers colour on press, but am struggling to just change to one. Does anyone know anyway around this problem??
I have previously declared pinColour as a variable and upon button press changed it to the desired colour, however this changes all the markers colour.
Without creating multiple separate markers each with it’s own variable, is there a smart way to change pinColour of an individual marker using a block setup as seen above??