IntersectionApi class

Intersection search allows users to search for a point where two streets intersect, without a precise address.

https://docs.mapbox.com/api/search/#intersection-search-support

Constructors

IntersectionApi(MapboxApi api, {String version = 'v5', String endpoint = 'https://api.mapbox.com/geocoding'})

Properties

api MapboxApi
getter/setter pair
endpoint String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request({GeocoderEndpoint endpoint = GeocoderEndpoint.PLACES, String? street1, String? street2, List<double> proximity = const <double>[], List<GeocoderPlaceType> types = const <GeocoderPlaceType>[]}) Future<GeocodingApiResponse>
The response from an intersection search query is a GeoJSON feature collection with the accuracy property set to intersection
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited