Question

In Google Map API v1, I can change My Location icon by write a class extends MyLocationOverlay. But I don't know how to do it in Google API v2. Please help me solve this issue.

Était-ce utile?

La solution

I think, that v2 does not support custom location icon, but you can work-around it by disabling your location and setting up custom location listener, which adds/updates your custom groundoverlay on every location update.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top