googleMaps
fun PlatformGeocoder.Companion.googleMaps(apiKey: String, parameters: GoogleMapsParameters = GoogleMapsParameters(), json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json)): GoogleMapsPlatformGeocoder
Creates a GoogleMapsPlatformGeocoder to be used with the Geocoder.
See Google Maps for more information.
Return
A GoogleMapsPlatformGeocoder instance.
Parameters
apiKey
The Google Maps API key.
parameters
The parameters to use for the geocoding requests.
json
The Json instance to use for serialization and deserialization.
client
The HttpClient to use for making requests.
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.
See Google Maps for more information.
Return
A GoogleMapsPlatformGeocoder instance.
Parameters
apiKey
The Google Maps API key.
json
The Json instance to use for serialization and deserialization.
client
The HttpClient to use for making requests.
block
A lambda that configures the GoogleMapsParameters to use for the geocoding requests.