相关疑难解决方法(0)

Apple Maps和Google Maps API的参数相同吗?

在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. …
Run Code Online (Sandbox Code Playgroud)

compatibility google-maps google-maps-markers apple-maps

8
推荐指数
1
解决办法
2874
查看次数