Package-level declarations

Types

Link copied to clipboard
class AndroidGeocoder(val applicationContext: Context) : SoundscapeGeocoder

The AndroidGeocoder class abstracts away the use of a built in Android Geocoder for geocoding and reverse geocoding.

Link copied to clipboard
class FusedGeocoder(applicationContext: Context, val gridState: GridState) : SoundscapeGeocoder

The FusedGeocoder uses Photon and Android geocoders together and picks the best results. The Android geocoder works best for street addresses and individual businesses, but for everything else photon is better.

Link copied to clipboard
class MultiGeocoder(applicationContext: Context, val gridState: GridState, settlementState: GridState, tileSearch: TileSearch, val networkUtils: NetworkUtils) : SoundscapeGeocoder

The MultiGeocoder dynamically switches between Android, Photon and Local geocoders depending on the user settings and network availability.

Link copied to clipboard
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.

Link copied to clipboard
class PhotonGeocoder(val applicationContext: Context) : SoundscapeGeocoder

The PhotonGeocoder class abstracts away the use of photon geo-search server for geocoding and reverse geocoding.

Link copied to clipboard
Link copied to clipboard
class StreetDescription(val name: String, val gridState: GridState)
Link copied to clipboard
class TileSearch(val offlineExtractPath: String, val gridState: GridState, val settlementGrid: GridState)

Functions

Link copied to clipboard