开发者

android map draw custom marker

Say I have multiple Overlay items in my map. Is it possible 开发者_JAVA技巧to draw some text (say the overlay number) on the default marker ?


You could define some custom markers. You can't edit the default ones...


Create a Textview and use the map layout param (with the position you want it, as it accepts a geopoint) to add it to textview that you created. Add the textview to the mapView Your text will appear on the map over the marker

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜