Members
readonly credit : Credit|undefined
获取要在执行地理代码后显示的信用项。 这通常用于信贷
地理编码器服务。
Methods
static Cesium.GeocoderService.getCreditsFromResult(geocoderResult) → Array.<Credit>|undefined
解析地理编码器结果属性(如果存在)中的制作者名单。
Name | Type | Description |
---|---|---|
geocoderResult |
GeocoderService.Result | 地理编码器结果 |
Returns:
结果中存在的积分列表,否则为 undefined
geocode(query, type) → Promise.<Array.<GeocoderService.Result>>
Name | Type | Default | Description |
---|---|---|---|
query |
string | 要发送到地理编码器服务的查询 | |
type |
GeocodeType |
GeocodeType.SEARCH
|
optional 要执行的地理编码类型。 |
Returns:
Type Definitions
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
displayName |
string | 位置的显示名称 | |
destination |
Rectangle | Cartesian3 | 位置的边界框 | |
属性 |
Array.<object> |
<optional> |