Search code examples
androidgoogle-mapslocationmylocationoverlay

Modifying mylocationoverlay Color in Android


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.


Solution

  • 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