Provides geocoding through Cesium ion.
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Object with the following properties:
|
See:
Members
readonly credit : Credit|undefined
Gets the credit to display after a geocode is performed. Typically this is used to credit
the geocoder service.
geocodeProviderType : IonGeocodeProviderType
The geocoding service that Cesium ion API server should use to fulfill geocding requests.
-
Default Value:
IonGeocodeProviderType.DEFAULT
Methods
geocode(query, type) → Promise.<Array.<GeocoderService.Result>>
Name | Type | Default | Description |
---|---|---|---|
query |
string | The query to be sent to the geocoder service | |
type |
GeocodeType |
GeocodeType.SEARCH
|
optional The type of geocode to perform. |