谷歌Android地图标记 [英] android google map marker

查看:206
本文介绍了谷歌Android地图标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在android的显示在谷歌地图上的几个标记,我想显示更多的信息(如信息 - 一些文字,图片)点击一个特定的标记时。可能有人请指导我怎么可以去实现这一点。

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.

推荐答案

覆盖中的onTap() ItemizedOverlay 做任何你想要的。 在这里看到一个显示<$ C $的示例项目 C>吐司当一个项目被窃听。

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.

这篇关于谷歌Android地图标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆