Skip to content

How to customize Marker #443

Closed Answered by Gowsky
andyZou0814 asked this question in Questions
Oct 19, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hello @andyZou0814, The MarkerComponent allows for setting a custom MarkerLabelFormatter. In MarkerComponent#getLabel you can return a Spannable with a DynamicDrawableSpan that will display your icon.
You may also implement your custom Marker implementation and draw whatever you wish straight onto a Canvas.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andyZou0814
Comment options

Answer selected by Gowsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants