Skip to content
ForkWithMe edited this page Nov 15, 2018 · 7 revisions

Map

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

https://dlink.maps.me/map?v=1&ll=54.32123,12.34562&n=Point%20Name&id=AnyStringOrEncodedUrl&backurl=UrlToCallOnBackButton&appname=TitleToDisplayInNavBar

Search

https://dlink.maps.me/search

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.

Route

https://dlink.maps.me/route

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

Examples: https://dlink.maps.me/route?sll=55.800800,37.532754&saddr=PointA&dll=55.760158,37.618756&daddr=PointB&type=vehicle

Clone this wiki locally