GoogleGeocoderService
Cesium v1.147 · 中文

new Cesium.GoogleGeocoderService(options)

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

Members

在执行地理编码后获取显示信用值。通常用于向地理编码服务授予信用。 地理编码服务。

Methods

获取与搜索字符串匹配的可能位置列表。
Name Type Description
query string 要发送给地理编码服务的查询内容。
Returns:
Throws:
  • RuntimeError : If 该服务返回的状态不是 OK 或 ZERO_RESULTS。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.