Offline Geocoder
class OfflineGeocoder(val gridState: GridState, val settlementGrid: GridState, val tileSearch: TileSearch? = null) : SoundscapeGeocoder
The OfflineGeocoder class abstracts away the use of map tile data on the phone for geocoding and reverse geocoding. If the map tiles are present on the device already, this can be used without any Internet connection.
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun getAddressFromLngLat(userGeometry: UserGeometry, localizedContext: Context?): LocationDescription?
Link copied to clipboard
open suspend override fun getAddressFromLocationName(locationName: String, nearbyLocation: LngLatAlt, localizedContext: Context?): List<LocationDescription>?
Link copied to clipboard