@sqlrooms/deck / createProtomapsStyle
Function: createProtomapsStyle()
createProtomapsStyle(
flavor,apiKey):StyleSpecification
Creates a MapLibre style using the hosted Protomaps v4 vector tiles API. The browser-visible API key should be scoped to the host application's origins.
Parameters
| Parameter | Type |
|---|---|
flavor | ProtomapsFlavor |
apiKey | string |
Returns
StyleSpecification