【问题标题】:Adding markers to a Google map on Android在 Android 上向 Google 地图添加标记
【发布时间】:2010-08-04 16:41:52
【问题描述】:

我想在我的地图上添加一个特定纬度/经度的地方。我想在活动开始时在我的地图上显示它。我该怎么做?

谢谢。

【问题讨论】:

    标签: android google-maps


    【解决方案1】:

    This Google/Android tutorial 应该准确地提供您需要的信息。

    基本上你创建一个自定义ItemizedOverlay,从MapView (getOverlays) 中获取覆盖列表,创建一些GeoPoints 和你的集合。

    Google Maps library documentation 是地图相关问题的绝佳参考。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-09-13
      • 1970-01-01
      • 1970-01-01
      • 2014-09-22
      • 2017-05-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多