Fetches the map tile specified by (x, y, z). This method uses any credentials that were specified to ee.Initialize(). Args: x: The tile x coordinate. y: The tile y coordinate. z: The tile zoom level. Returns: The map tile image data bytes. Raises: EE
(self, x: float, y: float, z: float)
| 1042 | return self.url_format.format(x=x, y=y, z=z) |
| 1043 | |
| 1044 | def fetch_tile(self, x: float, y: float, z: float) -> Any: |
| 1045 | """Fetches the map tile specified by (x, y, z). |
| 1046 | |
| 1047 | This method uses any credentials that were specified to ee.Initialize(). |
| 1048 | |
| 1049 | Args: |
| 1050 | x: The tile x coordinate. |
| 1051 | y: The tile y coordinate. |
| 1052 | z: The tile zoom level. |
| 1053 | |
| 1054 | Returns: |
| 1055 | The map tile image data bytes. |
| 1056 | |
| 1057 | Raises: |
| 1058 | EEException if the fetch fails. |
| 1059 | """ |
| 1060 | return _execute_cloud_call( |
| 1061 | _get_cloud_projects_raw() |
| 1062 | .maps() |
| 1063 | .tiles() |
| 1064 | .get(parent=self._map_name, x=x, y=y, zoom=z) |
| 1065 | ) |
| 1066 | |
| 1067 | |
| 1068 | def computeValue(obj: computedobject.ComputedObject) -> Any: |
no test coverage detected