How to customize Marker #443
-
I want to customize the content of x axia data: xxx |
Beta Was this translation helpful? Give feedback.
Answered by
Gowsky
Oct 21, 2023
Replies: 1 comment 1 reply
-
Hello @andyZou0814, The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Gowsky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @andyZou0814, The
MarkerComponent
allows for setting a customMarkerLabelFormatter
. InMarkerComponent#getLabel
you can return aSpannable
with aDynamicDrawableSpan
that will display your icon.You may also implement your custom
Marker
implementation and draw whatever you wish straight onto aCanvas
.