开发者

Android : Showing MyLocationOverlay.enableMyLocation as compass

A little Question about the MyLocationOverlay.enableMyLocation method in a MapView.

In the Original Goggle Maps App there is the Location shown as a Compass, but, if I enable the MyLocation-feature in a MapView it only shows this blue knob.

How can I replace this blue Knob with the compass-rose from the original Ma开发者_如何学编程ps-App ??

Android : Showing MyLocationOverlay.enableMyLocation as compass

In the Picture above you can see my App. The Location of the User is shown as this little blue knob.

Android : Showing MyLocationOverlay.enableMyLocation as compass

The last picture is a Original from Google Maps. The User Location is shown as a moving Compass arrow.

This arrow is it what I want.


Are there any further Informations needed to solve this Problem?


I believe the blue dot turns into a blue directional rose when the device can determine your heading, which only happens when you're moving. I would assume you do not develop in a moving vehicle, yacht, airplane etc. so that would explain your problem. Unfortunately I can't confirm as I too develop stationary.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜