Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

GetSprites

Focus mode
GetSprites - Amazon Location Service

GetSprites returns the map's sprites.

Request Syntax

GET /styles/Style/ColorScheme/Variant/sprites/FileName HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

ColorScheme

Sets color tone for map such as dark and light for specific map styles. It applies to only vector map styles such as Standard and Monochrome.

Example: Light

Default value: Light

Note

Valid values for ColorScheme are case sensitive.

Valid Values: Light | Dark

Required: Yes

FileName

Sprites API: The name of the sprite file to retrieve, following pattern sprites(@2x)?\.(png|json).

Example: sprites.png

Pattern: sprites(@2x)?\.(png|json)

Required: Yes

Style

Style specifies the desired map style for the Sprites APIs.

Valid Values: Standard | Monochrome | Hybrid | Satellite

Required: Yes

Variant

Optimizes map styles for specific use case or industry. You can choose allowed variant only with Standard map style.

Example: Default

Note

Valid values for Variant are case sensitive.

Valid Values: Default

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-Type: ContentType Cache-Control: CacheControl ETag: ETag Blob

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

CacheControl

Header that instructs caching configuration for the client.

ContentType

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

ETag

The sprite's Etag.

The response returns the following as the HTTP body.

Blob

The body of the sprite sheet or JSON offset file (image/png or application/json, depending on input).

Errors

For information about the errors that are common to all actions, see Common Errors.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.