8

在 iPhone 和 iPad 等 iOS 6 设备以及最新的 Mac 设备上,maps.apple.com/maps?q=cupertino的链接在 Apple 的本地地图应用程序中打开。

在非 Mac 计算机和其他设备上,它会转到maps.google.com/maps?q=cupertino

这是开发人员欢迎的功能,但是,Google 地图是否支持 Apple 的 API?

换句话说,以下所有 Apple Maps 参数是否都可以完美地转换为网络上 Google Maps 中的某些内容?

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.

还是最好不要在网站上使用其中一些?

4

1 回答 1

1

现在唯一的负面部分是https://maps.apple.com在 Apple 设备上显示证书错误,但在非 Apple 设备上直接转到 google。当然,您可以直接链接到http://maps.apple.com,但 HTTPS 无处不在,不是吗?

于 2015-06-11T14:50:42.477 回答