Bau*_*umr 8 compatibility google-maps google-maps-markers apple-maps
在iOS 6设备上,如iPhone和iPad,以及最新的Mac,在Apple的原生地图应用程序中打开了一个指向maps.apple.com/maps?q=cupertino的链接.
在非Mac计算机和其他设备上,它会导致使用maps.google.com/maps?q=cupertino.
对于开发人员来说,这是一个受欢迎的功能,但Google Maps是否支持Apple的API?
换句话说,以下所有Apple Maps参数是否完全转换为网络上Google地图中的内容?
q= The query parameter.
near= The location part of the query.
ll= The latitude and longitude points for the map center point.
sll= The latitude and longitude points from which a business search should be performed.
spn= The approximate latitude and longitude span.
sspn= A custom latitude and longitude span format used by Apple.
t= The type of map to display.
z= The zoom level.
saddr= The source address, which is used when generating driving directions
daddr= The destination address, which is used when generating driving directions.
Run Code Online (Sandbox Code Playgroud)
或者最好不要在网站上使用其中的一些?
小智 1
现在唯一的缺点是https://maps.apple.com在 Apple 设备上显示证书错误,但在非 Apple 设备上直接转到 google。当然,您可以直接链接到http://maps.apple.com,但 HTTPS 无处不在是新的口号,不是吗?
| 归档时间: |
|
| 查看次数: |
2874 次 |
| 最近记录: |