Methods
geocode(query, type) → Promise.<Array.<GeocoderService~Result>>
Name | Type | Default | Description |
---|---|---|---|
query |
String | 要发送到地理编码服务的查询 | |
type |
GeocodeType |
GeocodeType.SEARCH
|
optional 要执行的地理编码的类型。 |
Returns:
Type Definitions
Properties:
Name | Type | Description |
---|---|---|
displayName |
String | 位置的显示名称。 |
destination |
Rectangle | Cartesian3 | 位置的边框。 |