【发布时间】:2011-07-21 13:22:42
【问题描述】:
现在,我正在通过以下调用启动 Google 地图应用程序:
String geoAddress = "maps.google.com/maps?q=";
geoAddress += LatLong[0] + "," + LatLong[1];
Intent i = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(geoAddress));
startActivity(i);
这将打开并在地图上的指定位置放置一个标记。我有两个问题:
1)如何放置多个我有经度/纬度的标记?
2)如何将地图应用程序启动到其他模式(地形/卫星/等)?
谢谢!
【问题讨论】:
标签: android google-maps android-intent google-maps-markers