Modifying mylocationoverlay Color in Android

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 05:17:14

问题


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.


回答1:


See this related question for the answer - myLocationOverlay change the marker

Basically, create a subclass of MyLocationOverlay then override drawMyLocation().

There is example code in the related answer.

You can see the API here - http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MyLocationOverlay.html




回答2:


Answer can be found here : myLocationOverlay change the marker



来源:https://stackoverflow.com/questions/5593480/modifying-mylocationoverlay-color-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!