Amazon Location Service Maps V2

2025/10/24 - Amazon Location Service Maps V2 - 1 updated api methods

Changes  Added support for optional AdditionalFeatures parameter in the V2 GetTile API.

GetTile (updated) Link ΒΆ
Changes (request)
{'AdditionalFeatures': ['ContourLines | Hillshade | Logistics | Transit']}

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.

See also: AWS API Documentation

Request Syntax

client.get_tile(
    AdditionalFeatures=[
        'ContourLines'|'Hillshade'|'Logistics'|'Transit',
    ],
    Tileset='string',
    Z='string',
    X='string',
    Y='string',
    Key='string'
)
type AdditionalFeatures:

list

param AdditionalFeatures:

A list of optional additional parameters such as map styles that can be requested for each result.

  • (string) --

type Tileset:

string

param Tileset:

[REQUIRED]

Specifies the desired tile set.

Valid Values: raster.satellite | vector.basemap

type Z:

string

param Z:

[REQUIRED]

The zoom value for the map tile.

type X:

string

param X:

[REQUIRED]

The X axis value for the map tile. Must be between 0 and 19.

type Y:

string

param Y:

[REQUIRED]

The Y axis value for the map tile.

type Key:

string

param Key:

Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.

rtype:

dict

returns:

Response Syntax

{
    'Blob': StreamingBody(),
    'ContentType': 'string',
    'CacheControl': 'string',
    'ETag': 'string',
    'PricingBucket': 'string'
}

Response Structure

  • (dict) --

    • Blob (:class:`.StreamingBody`) --

      The blob represents a vector tile in mvt or a raster tile in an image format.

    • ContentType (string) --

      Header that represents the format of the response. The response returns the following as the HTTP body.

    • CacheControl (string) --

      Header that instructs caching configuration for the client.

    • ETag (string) --

      The pricing bucket for which the request is charged at.

    • PricingBucket (string) --

      The pricing bucket for which the request is charged at.