searchChargers
suspend fun searchChargers(latitude: Double, longitude: Double, options: SearchOptions): Either<MapboxEVPlatformError, List<MapboxEVSearchResult>>
Performs a search for EV stations.
Return
either a collection of MapboxEVSearchResult or an error
Parameters
latitude
the latitude of the search origin point
longitude
the longitude of the search origin point
options
the options to apply to the search
suspend fun searchChargers(points: List<Point>, options: SearchOptions): Either<MapboxEVPlatformError, List<MapboxEVSearchResult>>
Performs a search for EV stations.
Return
either a collection of MapboxEVSearchResult or an error
Parameters
points
a collection of points to search around
options
the options to apply to the search