get_tile
async
¶
get_tile(
tileset: Tileset,
z: SensitiveString,
x: SensitiveString,
y: SensitiveString,
*,
config_overrides: Optional[AsyncGeoMapsClientConfig] = None,
additional_features: Optional[TileAdditionalFeatureList] = None,
key: Optional[ApiKey] = None,
) -> GetTileResponse
GetTile returns a tile. Map tiles are used by clients to render a map. They're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.
For more information, see Tiles in the Amazon Location Service Developer Guide.
Parameters:
-
additional_features(Optional[TileAdditionalFeatureList], default:None) –A list of optional additional parameters such as map styles that can be requested for each result. Not supported in
ap-southeast-1andap-southeast-5regions for GrabMaps customers. -
tileset(Tileset) –Specifies the desired tile set. For GrabMaps customers,
ap-southeast-1andap-southeast-5regions support only thevector.basemapvalue.Valid Values:
raster.satellite | vector.basemap | vector.traffic | raster.dem -
z(SensitiveString) –The zoom value for the map tile.
-
x(SensitiveString) –The X axis value for the map tile.
-
y(SensitiveString) –The Y axis value for the map tile.
-
key(Optional[ApiKey], default:None) –Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.
Raises:
-
AccessDeniedException–The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–Exception thrown when the associated resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.