通过 NT 0 离子提供地理编码.
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
下列属性的对象 :
|
See:
Members
readonly credit : Credit|undefined
在完成地理代码后获得显示的信用值 。 通常,这是用来信用的
地理编码器服务.
geocodeProviderType : IonGeocodeProviderType
用于满足地理编码请求的 Cesium 离子 API 服务器的地理编码服务.
-
Default Value:
IonGeocodeProviderType.DEFAULT
Methods
geocode(query, type) → Promise.<Array.<GeocoderService.Result>>
| Name | Type | Default | Description |
|---|---|---|---|
query |
string | 要发送到地理编码器服务的查询 | |
type |
GeocodeType |
GeocodeType.SEARCH
|
optional The type of geocode to perform. |