IsochroneApi class
An isochrone is a line that connects points of equal travel time around a given location.
Constructors
- IsochroneApi(MapboxApi api, {String version = 'v1', String endpoint = 'https://api.mapbox.com/isochrone'})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
{NavigationProfile? profile, List< double> coordinates = const <double>[], List<int> contoursMinutes = const <int>[], List<String> contoursColors = const <String>[], bool polygons = false, double denoise = 1.0, double? generalize}) → Future<IsochroneApiResponse> - Given a location and a routing profile, retrieve up to four isochrone contours. The contours are calculated using rasters and are returned as either polygon or line features, depending on your input setting for the polygons parameter.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited