Skip to content

GetMapSprites

Source: src/AWS/Location/GetMapSprites.ts

Retrieves the map’s sprite sheet (PNG) or sprite index (JSON) used to render icons.

Runtime binding for the GetMapSprites operation (IAM action geo:GetMapSprites), scoped to one Map. Provide the implementation with Effect.provide(AWS.Location.GetMapSpritesHttp).

const getSprites = yield* Location.GetMapSprites(map);
const sprites = yield* getSprites({ FileName: "sprites.json" });
// sprites.Blob → sprite index JSON bytes