通过外部服务提供地理编码。 此类型描述一个接口,并且
无意使用.
Members
readonly credit : Credit|undefined
在完成地理代码后获得显示的信用值 。 通常,这是用来信用的
地理编码器服务.
Methods
static Cesium.GeocoderService.getCreditsFromResult(geocoderResult) → Array.<Credit>|undefined
地理编码器的解析功率,如果存在的话.
| Name | Type | Description |
|---|---|---|
geocoderResult |
GeocoderService.Result | 地理编码器的结果 |
Returns:
如果结果中存在入计量列表,否则无法定义
geocode(query, type) → Promise.<Array.<GeocoderService.Result>>
| Name | Type | Default | Description |
|---|---|---|---|
query |
string | 要发送到地理编码器服务的查询 | |
type |
GeocodeType |
GeocodeType.SEARCH
|
optional The type of geocode to perform. |
Returns:
Type Definitions
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
displayName |
string | 位置的显示名称 | |
destination |
Rectangle | Cartesian3 | 位置的边框 | |
attributions |
Array.<object> |
<optional> |