Response format
The API response contains the reachable hull with multipolygon geometry.
https://isoline.api.mappable.world/v1/driving?ll=55.280222457968712,25.234369457896325&duration=900&apikey=YOUR_API_KEY
In this case, the response will look like this:
Response
{
"hull": {
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[55.195999, 25.119061],
...
[55.202614999999994, 25.123709]
]
]
]
}
}
}
Response params
hull
-
Information about the built isochrone hull.
geometry
-
MultiPolygon GeoJSON geometry (see RFC 7946, Section 3.1.7).
type
-
Geometry type. Possible values:
MultiPolygon
coordinates
-
Polyline making up a multipolygon.
Specified in decimal degrees (WGS84 standard). Each point is defined as a coordinate pair in the format:
<longitude,latitude>
Error messages
Code | Description |
---|---|
400 | One or more required parameters are missing in the request. |
401 | The request doesn't contain the apikey parameter or an invalid key was specified. |
429 | Too many requests. |
500 or 504 | System server error. Repeat the request later. |
If an error occurs while processing a request, API returns a message with the error description in the errors
field:
{"errors":["Error with parameter \"ll\": Required"]}
{"errors": ["parameter 'apikey' is missing"]}
{"errors": ["Apikey above quota limit"]}