OpenCageGeocoderService

constructor(url: String, apiKey: String, params: Any? = definedExternally)(source)


constructor(url: Resource, apiKey: String, params: Any? = definedExternally)(source)

Parameters

apiKey

The OpenCage API Key.

params

An object with the following properties (See https://opencagedata.com/api#forward-opt):

params.abbrv

When set to 1 we attempt to abbreviate and shorten the formatted string we return.