PhotonSearchProvider

object PhotonSearchProvider : PhotonSearch

Uses the photon search engine https://github.com/komoot/photon for geocoding and reverse geocoding. Thin Android-side wrapper around the shared PhotonSearchClient that parses the JSON response into a FeatureCollection via GeoMoshi.

Functions

Link copied to clipboard
Link copied to clipboard
open suspend override fun getSearchResults(searchString: String, latitude: Double?, longitude: Double?, language: String?, limit: UInt, bias: Float): FeatureCollection?
Link copied to clipboard
open suspend override fun reverseGeocodeLocation(latitude: Double?, longitude: Double?, language: String?): FeatureCollection?