且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

显示标记在GEO:-url在Android地图

更新时间:2022-11-01 23:40:42

它的工作原理与follwoing网址:

It works with the follwoing url:

final String uriString = "http://maps.google.com/maps?q=" + lat + ',' + lng + "("+ label +")&z=15";

反向地理codeD地址显示。

The reverse geo coded address is shown.

我发现文件所支持的参数这里。这不是机器人谷歌地图的文档,但我试过的作品。

I found documentation to the supported parameters here. This is not the documentation for Androids Google Maps but what I tried works.

注:应该指出的是,原来的问题是关于在地理:URI启动谷歌地图应用程序(见的 Android开发者参考意图列表,而这个答案可能会推出与谷歌地图网站取决于应用程序的用户选择什么该意图的Web视图。

Note: it should be noted that the original question was in regards to the the geo: URI to launch the Google Maps app (see Android Developer Reference Intents List, whereas this answer might launch a web view with the Google Maps website depending on what App the user chooses for this Intent.