Closed cybertheory closed 1 year ago
Trying to use mapbox_gl and directly querying the directions API, it returns a Geometry field under the Route object which is a GeoJSON LineString. How would I plot this?
Solved: just set geometry parameter to geostring in request and use the coordinates field, or geoJson.
Trying to use mapbox_gl and directly querying the directions API, it returns a Geometry field under the Route object which is a GeoJSON LineString. How would I plot this?