# IonGeocoderService

#### new Cesium.IonGeocoderService(options)
engine/Source/Core/IonGeocoderService.js 21

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:

- Ion

### Methods

#### geocode(query, type) → Promise.<Array.<GeocoderService.Result>>
engine/Source/Core/IonGeocoderService.js 61

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.