-
Notifications
You must be signed in to change notification settings - Fork 112
Deeplinks
iOS, ANDROID-implicit-intent: mapsme://map?
All: https://dlink.maps.me/map?
Params:
v - API version, currently 1
ll - pin latitude and longitude, comma-separated
n - pin title
id - any string you want to receive back in your app, OR alternatively, any valid URL which will be opened on More Infobutton click
backurl - usually, your unique app scheme to open back your app
appname - string to display in navigation bar on top of the map in MAPS.ME
balloonAction - pass openUrlOnBalloonClick as a parameter, if you want to open pin url on balloon click(Usually pin url opens when "Show more info" button is pressed). (Available in 2.4.5)
Examples
Params:
query=food: search query (string)
Optional params:
locale=en_US: locale (string)
cll=34.233456,51.345672: viewport center as latitude (double) comma longitude (double)
map: requests search on the map, otherwise - list search results
Examples:
Search food category POI on the map with a specific viewport center and English US locale:
https://dlink.maps.me/search?query=food&locale=en_US&cll=34.233456,51.345672&map
Important note: The coordinates are ignored in a while. And search takes place around the current location only.
Params:
sll=1,1: source point as latitude (double) comma longitude (double)
saddr=Home: source point name (string) (can be "" or null)
dll=1,1: destination point as latitude (double) comma longitude (double)
daddr=Work: destination point name (string) (can be "" or null)
type=vehicle: router type as one of these string values: vehicle, pedestrian, bicycle