【发布时间】:2010-04-23 06:51:41
【问题描述】:
我读到这个: Drop Pin on Default Google Maps from My App in Android? 并做同样的事情。 但是在我打电话后,地图上没有图钉掉下来: startActivity(new Intent(Intent.ACTION_VIEW, uri));
地图以该 uri 位置为中心,但地图上没有放置任何图钉。
那么,有一个问题: 如何在地图上放置图钉?
【问题讨论】:
-
嘿,你能告诉我你做了什么吗?它对我来说很酷。
-
prev_geo_uri = Uri.parse("geo: "+prevLocation.getLatitude()+","+prevLocation.getLongitude()); startActivity(new Intent(Intent.ACTION_VIEW,prev_geo_uri));
-
[Here][1] 是 Android [1] MapView 上 DragAndDrop 的完整代码:stackoverflow.com/questions/3897409/…
标签: android maps android-maps