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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top