8

iPhone や iPad などの iOS 6 デバイス、および最新の Mac では、maps.apple.com/maps?q=cupertinoへのリンクが Apple のネイティブ マッピング アプリケーションで開かれます。

Mac 以外のコンピュータやその他のデバイスでは、代わりにmaps.google.com/maps?q=cupertinoにつながります。

これは開発者にとって歓迎すべき機能ですが、Apple の API は Google マップでサポートされていますか?

つまり、次の Apple Maps パラメーターはすべて、Web 上の 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.

それとも、これらの一部を Web サイトで使用しないのが最善ですか?

4

1 に答える 1

1

唯一の欠点は、https://maps.apple.comが Apple デバイスでは証明書エラーを表示するが、Apple 以外のデバイスでは直接 Google にアクセスすることです。確かにhttp://maps.apple.comに直接リンクすることはできますが、どこでも HTTPS が新しいマントラですよね?

于 2015-06-11T14:50:42.477 に答える