我在哪里可以找到HTML5< a href =" attr:">参考? [英] Where can I find the HTML5 <a href="attr:"> reference?

查看:118
本文介绍了我在哪里可以找到HTML5< a href =" attr:">参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我的问题是针对移动设备的,因为我需要

的maps:param属性:

So my question is mobile specific, because I need the "maps:" param's attributes for

Something like this:

<a href="maps:maybe+address+or+coords+here"></a>

它会在iPhone上打开Goog​​le地图原生应用程序,但我想发送该地址或coords

It opens the Google Maps native apps on iPhone, but I want to send the address or coords of the place too.

Thx!

推荐答案

使用 ll (lat& long)参数...如此:

You'll want to use the ll (lat & long) parameter ... so something like:

<a href="maps:ll=38.870454,-77.055702">map</a>

您可能还需要放大缩小...

You'll likely want a zoom as well ...

<a href="maps:ll=38.870454,-77.055702&z=10">map</a>

(或者类似的东西)更多信息 Apple's docs

(Or something like that) more info on Apple's docs.

这篇关于我在哪里可以找到HTML5&lt; a href =&quot; attr:&quot;&gt;参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆