i_raqz
i_raqz

Reputation: 2959

android google map marker

i have several markers on the google map displayed in android, i wish to display more information (information such as - some text,a picture) when a particular marker is clicked. could some one please guide me how can i go about implementing that.

Upvotes: 0

Views: 7852

Answers (2)

whirlwin
whirlwin

Reputation: 16521

What CommonsWare said. Or check out this page: http://developer.android.com/resources/tutorials/views/hello-mapview.html Also, I would recommend launching a new Activity if you're going to display text and an image, unlike the application at the page where only a small text is displayed.

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1006594

Override onTap() in your ItemizedOverlay and do whatever you want. See here for a sample project that displays a Toast when an item is tapped.

Upvotes: 2

Related Questions