GoogleGeocoderService

new Cesium.GoogleGeocoderService(options)

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

Members

获取地理编码执行后要显示的信用信息。通常用于给地理编码服务署名。

Methods

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