用于查找地址和地标并将相机飞向它们的小部件。地理编码是使用 A widget for finding addresses and landmarks, and flying the camera to them. Geocoding is performed using Cesium ion.
| 名称 Name | 类型 Type | 说明 Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
具有以下属性的对象: Object with the following properties:
|
成员 Members
获取父容器。 Gets the parent container.
获取父容器。 Gets the parent container.
获取视图模型。 Gets the view model.
方法 Methods
销毁小部件。如果从布局中永久删除小部件,则应调用。 Destroys the widget. Should be called if permanently removing the widget from layout.
返回: Returns:
如果对象已被销毁,则为 true,否则为 false。 true if the object has been destroyed, false otherwise.
类型定义 Type Definitions
处理成功地理编码结果的函数。 A function that handles the result of a successful geocode.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
viewModel |
GeocoderViewModel | 视图模型。 The view model. |
destination |
Cartesian3 | Rectangle | 地理编码的目标结果。 The destination result of the geocode. |
