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.
MGLPinAnnotationView with configurable marker color #2250
Once #2106 lands and we have a default marker, we should expose platform-side tinting options that color it on the fly and send it over the MBGL interface to add to the sprite sheet. This would enable mobile APIs similar to Apple MapKit's MKPinAnnotationView.pinColor.
On iOS, you could composite two images: a “template image” that the system can automatically color with the system tint color, and another image that supplies any shadow and shading.
changed the title [-]default marker annotation imagery with configurable color[/-][+]MGLPinAnnotationView with configurable marker color[/+]on Jul 8, 2016
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.
Activity
ljbade commentedon Oct 2, 2015
#2106 landed
ljbade commentedon Oct 30, 2015
Google Maps also exposes similar in
BitmapFactoryon Android.@incanus Question is, how do we tint just the red part of the marker?
1ec5 commentedon Nov 29, 2015
On iOS, you could composite two images: a “template image” that the system can automatically color with the system tint color, and another image that supplies any shadow and shading.
[-]default marker annotation imagery with configurable color[/-][+]MGLPinAnnotationView with configurable marker color[/+]1ec5 commentedon Aug 31, 2017
This feature was essentially added in mapbox/mapbox-navigation-ios#563 and should be upstreamed to this library.
/cc @frederoni @bsudekum
stale commentedon Oct 28, 2018
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.
Skyb0rg commentedon May 23, 2019
Hi,
is this availiable right now?
Cant add MGLPinAnnotationView.
Did not find it in swift / objective c
tried to add it in
Thank you