## Calculate an isochrone from a point `client.routing.isochrone(RoutingIsochroneParamsquery, RequestOptionsoptions?): GeoJsonFeature` **get** `/api/v1/isochrone` Calculate an isochrone from a point ### Parameters - `query: RoutingIsochroneParams` - `lat: number` Latitude - `lng: number` Longitude - `time: number` Travel time in seconds (1-7200) - `mode?: string` Travel mode (auto, foot, bicycle) ### Returns - `GeoJsonFeature` - `geometry: GeoJsonGeometry` - `coordinates: Array | Array> | Array>> | Array>>>` GeoJSON coordinates array (nesting depth varies by geometry type) - `Array` - `Array>` - `Array>>` - `Array>>>` - `type: "Point" | "LineString" | "Polygon" | 3 more` - `"Point"` - `"LineString"` - `"Polygon"` - `"MultiPoint"` - `"MultiLineString"` - `"MultiPolygon"` - `properties: Record` - `type: "Feature"` - `"Feature"` - `id?: string` Feature identifier (type/osm_id) - `osm_id?: number` OpenStreetMap ID ### Example ```typescript import Plaza from '@plazafyi/sdk'; const client = new Plaza({ apiKey: process.env['PLAZA_API_KEY'], // This is the default and can be omitted }); const geoJsonFeature = await client.routing.isochrone({ lat: 0, lng: 0, time: 0, }); console.log(geoJsonFeature.id); ```