开发者

Is there a way to turn off the blue circle while using MyLocationOverlay in android

I am currently using MyLocationOverlay to display my location. While being on MapView I am forcing the GPS to be turned on as well. However the blue c开发者_高级运维ircle around the marker is beyond annoying and I was curious if there's a way to remove it?

Thanks Rajat


Your best bet is to write a custom class to extend MyLocationOverlay and Override drawMyLocation() specifically. This will allow you to draw whatever you would like, and leave out whatever you'd like to leave out. This is the example I followed:

How can I use a custom bitmap for the "you are here" point in a MyLocationOverlay?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜