You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
MGLMapView should call -[MGLMapViewDelegate mapView:viewForAnnotation:] to get the MGLAnnotationView to display for MGLUserLocation. This would allow client code to completely customize the user dot’s appearance. If -mapView:viewForAnnotation: returns nil, MGLMapView should use an MGLUserLocationAnnotationView by default.
@KevinHu2014 at this point we haven't migrated the MyLocationView component on Android to use annotation views yet but we expose some API to customise it. Take a look at MyLocationViewSettings, this class contains our public API to change the appearance of MyLocationView.
Activity
1ec5 commentedon May 14, 2016
This will be a lot more elegant once we implement #5039.
KevinHu2014 commentedon Jul 5, 2016
@1ec5
How about Android?
Is it possible to custom user location annotation view?
tobrun commentedon Jul 5, 2016
@KevinHu2014 at this point we haven't migrated the
MyLocationViewcomponent on Android to use annotation views yet but we expose some API to customise it. Take a look at MyLocationViewSettings, this class contains our public API to change the appearance ofMyLocationView.KevinHu2014 commentedon Jul 5, 2016
@tobrun Thanks a lot~
friedbunny commentedon Aug 16, 2016
Fixed by #5882.