Package-level declarations

Types

Link copied to clipboard
class GoogleMapsForwardEndpoint(apiKey: String, parameters: GoogleMapsParameters = GoogleMapsParameters()) : HttpApiEndpoint<String, List<Coordinates>>

A ForwardEndpoint that uses the Google Maps Geocoding API.

Link copied to clipboard

Defines a HttpApiPlatformGeocoder that uses the Google Maps Geocoding API.

Link copied to clipboard
class GoogleMapsReverseEndpoint(apiKey: String, parameters: GoogleMapsParameters = GoogleMapsParameters()) : HttpApiEndpoint<Coordinates, List<Place>>

A ReverseEndpoint that uses the Google Maps Geocoding API.

Functions

Link copied to clipboard
fun PlatformGeocoder.Companion.googleMaps(apiKey: String, parameters: GoogleMapsParameters = GoogleMapsParameters(), json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json)): GoogleMapsPlatformGeocoder
fun PlatformGeocoder.Companion.googleMaps(apiKey: String, json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json), block: GoogleMapsParametersBuilder.() -> Unit): GoogleMapsPlatformGeocoder

Creates a GoogleMapsPlatformGeocoder to be used with the Geocoder.

Link copied to clipboard
fun GoogleMapsPlatformGeocoder(apiKey: String, parameters: GoogleMapsParameters = GoogleMapsParameters(), json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json)): GoogleMapsPlatformGeocoder
fun GoogleMapsPlatformGeocoder(apiKey: String, json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json), block: GoogleMapsParametersBuilder.() -> Unit): GoogleMapsPlatformGeocoder

Creates a GoogleMapsPlatformGeocoder to be used with the Geocoder.