mapbox-gl-directions icon indicating copy to clipboard operation
mapbox-gl-directions copied to clipboard

Invalid geojson (route feature lacks type)

Open stevage opened this issue 7 years ago • 0 comments

This doesn't seem to matter, but the GeoJSON source added to the map isn't actually valid. The route segments are of this form:

{
    "properties": { ... },
    "geometry": { ... }
}

and are missing "type": "Feature"

stevage avatar Jan 06 '19 08:01 stevage