Hello,
I have a question; maybe I'm not looking in the right place. I'm using a StaticMap with StaticMarkers. According to Google's documentation, it's quite basic to change their color and add a character inside: color:mycolor|label:A.
But I can't find these parameters on the component. Is there a trick to do this?
I tried to cheat by using the icon, but if the icon is empty, it doesn't take the rest. I tried before the localization, but there is a parser behind it.
Is there another trick?
Hi Vincent!I hope you're well. Let me understand if swapping the original GoogleMaps pinpoint with an image, that would represent that color change you want, would work for you. If so, you can do this by passing an image to the IconURL inside OptionalConfigs, that's inside the Marker. I needed to implement something similar, and what I did was create a function that, based on a position of the list, it would change the color of the icon, and in fact what was happening behind the scene was changing the image for another one that was exactly the same, except for the color.Best regards,Carlos Mendes
Thank you. It's what I have done. Is it in the roadmap to add the two parameters (label and colors) in the future for static markers?