URL Types

The Apple Maps app has three URL types, which open the app if installed.

map://
maps://
mapitem://

URL types represent, where the system should open the URL, e.g. https:// or http:// represent a web URL.


Apple Maps Web URLs

You can also open Apple Maps via web URLs:

https://maps.apple.com/ 
https://collections.apple.com/
https://guides.apple.com/

Without input parameters in the URL path (behind the last slash), the first URL redirects to the Apple Maps website and the other two can’t find the server.


Parameters

There are multiple parameters you can add to the Apple Maps URLs and the https://maps.apple.com/ URL. An explanation by apple is on the Apple Developer Documentation Archive. Multiple parameters can be stringed together with an & . Before the first parameter must be a ? . Between the parameter and the value is a = . Spaces are replaced with + or % and coordinates are defined as latitude,longitude with decimal values.

#swift #apple-maps #url #ios

Apple Maps URL Schemes
17.45 GEEK