Skizit
Skizit

Reputation: 44862

Adding markers to a Google map on Android

I've got a place I want to add on my map at a particular lat / lng. I'd like to display that on my map when the activity starts. How would I do this?

Thanks.

Upvotes: 0

Views: 2859

Answers (1)

Quintin Robinson
Quintin Robinson

Reputation: 82375

This Google/Android tutorial should provide exactly the information you need.

Basically you create an custom ItemizedOverlay, grab a list of overlays from the MapView (getOverlays), create some GeoPoints and your set.

The Google Maps library documentation is a great reference for map related questions.

Upvotes: 2

Related Questions