【问题标题】:How can Android app add Easy Stars to a Google Map?Android 应用程序如何将 Easy Stars 添加到 Google 地图?
【发布时间】:2012-05-27 21:59:00
【问题描述】:

Google 地图支持名为 Easy Stars 的功能,用户可以借此标记位置,以便在查看该区域时在地图上显示一个星标。 我希望我的 Android 应用程序能够像 J2ME 中的 Landmarks 功能一样从地图中添加和删除星星。 有没有办法做到这一点? PS。我的应用通过使用带有 ?q 街道和城市的地理位置的 Android Intent 启动 Google 地图(或任何地图程序)。

【问题讨论】:

    标签: android google-maps geolocation


    【解决方案1】:

    http://support.google.com/gmm/bin/answer.py?hl=en&answer=1650555

    1. 输入地址
    2. 触摸乳液气泡
    3. 触摸屏幕右上角的灰色星形

    【讨论】:

      【解决方案2】:
          Intent intent = new Intent(android.content.Intent.ACTION_VIEW, 
      Uri.parse("http://maps.google.com/maps?saddr=20.344,34.34&daddr=20.5666,45.345"));
      startActivity(intent);
      

      【讨论】:

      • 嗯,我以为saddr = 起始地址,daddr = 目标地址,即它与我的要求无关,还是我感到困惑?
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-05-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多