English | 简体中文

IonGeocoderService

new Cesium.IonGeocoderService(options)

Provides geocoding through Cesium ion.
Name Type Description
options object Object with the following properties:
Name Type Default Description
scene Scene The scene
accessToken string Ion.defaultAccessToken optional The access token to use.
server string | Resource Ion.defaultServer optional The resource to the Cesium ion API server.
See:

Members

Gets the credit to display after a geocode is performed. Typically this is used to credit the geocoder service.

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.
Returns:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.