searchChargers

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(latitude: Double, longitude: Double, resultLimit: Int): Either<MapboxEVPlatformError, List<MapboxEVSearchResult>>
suspend fun searchChargers(latitude: Double, longitude: Double, searchRadius: Double, resultLimit: Int): Either<MapboxEVPlatformError, List<MapboxEVSearchResult>>

Deprecated

Use searchChargers with SearchOptions