GET
/v1/isochroneReachability polygon
Returns a GeoJSON polygon of the area reachable within N minutes from a point. Supports driving, walking, and cycling costing profiles.
Paramètres
| Nom | Emplacement | Type | Description |
|---|---|---|---|
| lat required | query | number | — |
| lng required | query | number | — |
| time required | query | integer | Minutes. |
| mode | query | TravelMode | — |
Réponses
- 200GeoJSON FeatureCollection with one Polygon feature.
Exemples de code
curl "https://api.afrimap.ci/v1/isochrone?lat=5.3197&lng=-4.0167&time=15&mode=auto" \
-H "X-AfriMap-Key: $AFM_KEY"Testez-le
Essayer en direct
GET /v1/isochrone Collez une clé sandbox afm_test_…. La requête part directement de votre navigateur vers le gateway, aucun proxy côté portail.
Minutes.
GET http://172.28.0.8:8090/v1/isochrone?lat=5.3197&lng=-4.0167&time=15