HI,
I created a custom marker as follows:
in a png I have a white pin
and above I place an image, of which I have the URL, cropped so that it is round.
To do this I used a canvas and then transformed it into Unit8List.
I get the desired result but now I would like when I press on one of it:
mapController.onFeatureTapped.add(
the pin under the round photo changes color. How can I do?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
HI, I created a custom marker as follows: in a png I have a white pin and above I place an image, of which I have the URL, cropped so that it is round. To do this I used a canvas and then transformed it into Unit8List.
I load the result obtained like this:
and then I use a
GeoJsonSource
to have the markers addedI get the desired result but now I would like when I press on one of it:
mapController.onFeatureTapped.add(
the pin under the round photo changes color. How can I do?