Android mapbox tag offset
•
Android
I have to set the tag offset to the bottom (center by default). I found how to do this on JS or IOS, but how to do it in Android?
JS- http://bl.ocks.org/andrewharvey/01006319700c5352deaad3b58ec53b8c
IOS mapbox marker offset
resolvent:
There is a tag attribute based on tag doc
I haven't used it yet, but you should be able to:
new MarkerViewOptions().anchor(0.5f, 1.0f)
I hope this helps:)
Edit (28dec2017)
Map@R_ 304_ 2419 @ markerview is abandoned in SDK v5.2.0. It is recommended that users use symbollayer instead. Please refer to https://github.com/mapbox/mapbox-gl-native/pull/9782
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码