通过Cesium离子提供地理编码。 Provides geocoding through Cesium ion.
| 名称 Name | 类型 Type | 说明 Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
具有以下属性的对象: Object with the following properties:
|
另见: See:
成员 Members
readonly credit : Credit|undefined
获取执行地理编码后要显示的信用。通常,这用于记入地理编码器服务。 Gets the credit to display after a geocode is performed. Typically this is used to credit the geocoder service.
geocodeProviderType : IonGeocodeProviderType
Cesium ion API 服务器应使用地理编码服务来满足地理编码请求。 The geocoding service that Cesium ion API server should use to fulfill geocding requests.
-
默认值: Default Value:
IonGeocodeProviderType.DEFAULT
方法 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. |
