开发者

android google map marker

开发者 https://www.devze.com 2023-01-29 08:31 出处:网络
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 s

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

精彩评论

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

关注公众号