how to add multiple markers to mapview in android?

Posted by Vishakha Kinjawadekar on Stack Overflow See other posts from Stack Overflow or by Vishakha Kinjawadekar
Published on 2011-06-20T09:12:00Z Indexed on 2011/06/20 16:22 UTC
Read the original article Hit count: 133

Filed under:
|
|

I am working on android geolocation application in that I have added marker for current location and want to add markers for other geopoints also. I have created objects of OverlayItem for other points and adding it to ItemizedOverlay like itemizedOverlay.addOverlay(overlayItem) and then adding it to mapOverlay.add(itemizedOverlay). For the current location geopoints getting from "Location" object and other points are hard-coded values. After executing it only current location marker is displayed not the other hardcoded points.How can I add marker for these geopoints and where?

Thanks , Vishakha.

© Stack Overflow or respective owner

Related posts about android

Related posts about geolocation