GoogleGeocoderService

new Cesium.GoogleGeocoderService(options)

通过 Google 提供地理编码服务。
Name Type Description
options object 具有以下属性的对象:
Name Type Description
key string 用于 Google 地理编码服务的 API 密钥。
See:

Members

获取在地理编码完成后显示的版权信息(credit)。通常这用于标注 地理编码服务。

Methods

获取与搜索字符串匹配的可能位置列表。
Name Type Description
query string 要发送给地理编码服务的查询。
Returns:
Throws:
  • RuntimeError : 如果服务返回的状态不是 OKZERO_RESULTS
需要帮助?获取答案的最快方式是在 Cesium 论坛 上向社区和团队提问。