作者issuemylove (skill)
看板AndroidDev
标题[问题] andorid 内建map程式 中心点
时间Mon Dec 3 13:44:24 2012
请问各位大大
我用了 intent 呼叫内建的map程式
作法如下
String uri = "geo:"+latitude+","+longitude + "?z=16";
startActivity(new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri)));
我查了许多资料
始终无法把 map 显示的现在位置 设为中心点
有用 LocationManager 查出现在的经纬度然後塞到String uri里
可是这样只有大略的位置
并无法准确的将map显示的位置设为中心点QQ
请问这要怎模解决呢?~"~
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.24.181
1F:推 LaPass:应该google的到吧? 之前我弄过.... 12/03 13:47
2F:→ LaPass:等等,你是叫google map,不是用map view喔? 那我就不知道 12/03 13:48
3F:→ LaPass:了 12/03 13:48
4F:→ issuemylove:不是mapView 12/03 13:51
5F:→ issuemylove:我查了它的输入方式 都要加上 经纬度的参数 12/03 13:51
6F:→ issuemylove:可是我想应该有方法才对 QQ||| 只是我找了很久找没有 12/03 13:52