GetMapStyleDescriptor
Source:
src/AWS/Location/GetMapStyleDescriptor.ts
Retrieves the map’s style descriptor document (the MapLibre/Mapbox GL style JSON).
Runtime binding for the GetMapStyleDescriptor operation (IAM action
geo:GetMapStyleDescriptor), scoped to one Map. Provide the implementation with
Effect.provide(AWS.Location.GetMapStyleDescriptorHttp).
Serving Map Assets
Section titled “Serving Map Assets”const getStyle = yield* Location.GetMapStyleDescriptor(map);
const style = yield* getStyle();// style.Blob → style JSON bytes, style.ContentType → "application/json"