mapbox-compat

Mapbox-compatible Isochrone (see module docs).

get/isochrone/v1/{user}/{profile}/{coordinates}

Request

  • Base URL: https://api.mapmap.ai
  • URL: https://api.mapmap.ai/isochrone/v1/{user}/{profile}/{coordinates}
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter api_key

Path parameters

userstring required

mapbox or mapmap

profilestring required

driving, driving-traffic (served as driving), walking, cycling or truck (premium)

coordinatesstring required

The origin as lon,lat

Query parameters

access_tokenstring

Your MapMap key (snk_...)

contours_minutesstring

Comma-separated minutes (up to 4 contours, each at most 120)

contours_metersstring

Comma-separated metres (up to 4 contours, each at most 200,000)

contours_colorsstring

Hex colours without #, one per contour

polygonsboolean

Polygons (true) or lines (default)

denoisenumber double

0 to 1

generalizenumber double

Douglas-Peucker tolerance in metres

depart_atstring

Local departure time, YYYY-MM-DDThh:mm

Response

GeoJSON FeatureCollection; each feature's properties carry contour, metric and color (and fill/fillColor on polygons). Car contours are free-flowing times. Metered as POST /isochrone: one unit per contour

object required

Changes

No recorded changes to this operation across all 1 revision of this API.