Skip to content

GetMapGlyphs

Source: src/AWS/Location/GetMapGlyphs.ts

Retrieves a glyph range (font PBF) used to render map labels.

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

const getGlyphs = yield* Location.GetMapGlyphs(map);
const glyphs = yield* getGlyphs({
FontStack: "Arial Regular",
FontUnicodeRange: "0-255.pbf",
});
// glyphs.Blob → protobuf-encoded glyph bytes