问题描述
是否有可能修改 mylocationoverlay
的配色方案,我想CONVER闪烁的点成红色。请指导我,我怎样才能使之成为可能。
Is it possible to modify the color scheme of mylocationoverlay
I want to conver the blinking dot into red color. Please guide me how can I make it possible.
推荐答案
请参阅的答案此相关的问题 - myLocationOverlay更改标记
See this related question for the answer - myLocationOverlay change the marker
基本上,创建MyLocationOverlay的一个子类,然后重写drawMyLocation()。
Basically, create a subclass of MyLocationOverlay then override drawMyLocation().
有在相关答案例如code。
There is example code in the related answer.
您可以在这里看到的API - <一个href=\"http://$c$c.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MyLocationOverlay.html\" rel=\"nofollow\">http://$c$c.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MyLocationOverlay.html
You can see the API here - http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MyLocationOverlay.html
这篇关于修改mylocationoverlay在Android的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!