开发者

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) whe开发者_运维技巧n a particular marker is clicked. could some one please guide me how can i go about implementing that.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜