Hi, I ran into an issue when trying to get directions via this library. It doesn't seem to support getting Geojson from mapbox.
geometry := directions.GeometryGeojson
overview := directions.OverviewFull
directions, err := mbox.Directions.GetDirections([]base.Location{
{Latitude: bm.Latitude, Longitude: bm.Longitude},
{Latitude: b.Latitude, Longitude: b.Longitude},
}, directions.RoutingCycling, &directions.RequestOpts{
Geometries: &geometry,
Overview: &overview,
})
json: cannot unmarshal object into Go struct field Route.Geometry of type string
Hi, I ran into an issue when trying to get directions via this library. It doesn't seem to support getting Geojson from mapbox.