PMTilesProtocol
API Reference (beta) for <PMTilesProtocol />
Property | Type | Description |
---|---|---|
scheme optional | string | URL scheme for the PMTilesProtocol default: "pmtiles" |
metadata optional | boolean | Also load the metadata section of the PMTiles. required for some "inspect" functionality
and to automatically populate the map attribution. Requires an extra HTTP request. default: false |
errorOnMissingTile optional | boolean | When a vector MVT tile is missing from the archive, raise an error instead of
returning the empty array. Not recommended. This is only to reproduce the behavior of ZXY tile APIs
which some applications depend on when overzooming. default: false |
pmtiles optional | PMTiles[] | Array of PMTiles instances |