Jow*_*ows 2 javascript android google-maps ios google-maps-urls
为所有打开带有营业地点的谷歌地图的移动设备创建链接吗?
<a href="geo:37.6894694,-121.000303">Google MAP</a> -该链接转到该位置并重定向到移动版Google应用,但该公司的地址没有标记。
<a href="http://maps.apple.com/maps?q=Business Address">Google MAP</a> -此链接转到该位置,但不重定向到Google应用,而是移动设备让您选择要使用的内容。
我需要一个重定向到Google应用并标记Google商家地址的链接。
<a href="geo:37.6894694,-121.000303?q=37.6894694,-121.000303(The Name You Want To Show)">Google MAP</a>
Run Code Online (Sandbox Code Playgroud)
将q参数与()一起使用以显示标记名称
它适用于android设备,但我不确定它适用于iOS设备。
阅读更多:
https://developers.google.com/maps/documentation/android-api/intents#overview
https://developer.android.com/guide/components/intents-common.html
| 归档时间: |
|
| 查看次数: |
1691 次 |
| 最近记录: |