I have an application that uses a map Mapboxon its iOS SDKand existing markers ( MGLPointAnnotation) on it.
I want to change the marker image when I select it.
MGLPointAnnotationhas no property image, and I tried calling the delegate method mapView(mapView, imageForAnnotation annotation), but it did not work.
Any idea how I can do this?
Thank!
source
share