Method: projects.maps.tiles.get

计算显示计算部分的地图图块图片。该请求包含上一个 CreateMap 请求中的值(地图 ID 和授权令牌)。

HTTP 请求

GET https://earthengine.googleapis.com/v1beta/{parent=projects/*/maps/*}/tiles/{zoom}/{x}/{y}

网址采用 gRPC 转码语法。

路径参数

参数
parent

string

EarthEngineMap.name 中的地图名称。

zoom

integer

请求的地图图块的 [缩放级别][https://developers.google.com/maps/documentation/javascript/coordinates]。

x

integer

请求的地图图块的 [x 坐标][https://developers.google.com/maps/documentation/javascript/coordinates]。

y

integer

请求的地图图块的 [y 坐标][https://developers.google.com/maps/documentation/javascript/coordinates]。

请求正文

请求正文必须为空。

响应正文

如果成功,则响应为通用 HTTP 响应,其格式由方法定义。

授权范围

需要以下 OAuth 范围之一:

  • https://www.googleapis.com/auth/earthengine
  • https://www.googleapis.com/auth/earthengine.readonly
  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only

如需了解详情,请参阅 OAuth 2.0 Overview