fromGeoJson

Creates a Route from a GeoJSON LineString string.

Return

A new Route instance.

Parameters

json

The GeoJSON string.