Provides geocoding through an external service. This type describes an interface and
is not intended to be used.
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:
Type Definitions
Properties:
Name | Type | Description |
---|---|---|
displayName |
String | The display name for a location |
destination |
Rectangle | Cartesian3 | The bounding box for a location |