Overlay that renders PMTiles vector or raster data on top of 3D tile geometry. Projection and zoom levels are read automatically from the PMTiles archive header.
On this page
Methods
new PMTilesOverlay(
options?: {
// URL to the `.pmtiles` archive.
url?: string,
// Canvas resolution for generated tile textures.
resolution: number = 512,
// Per-feature style callback. Only applies to vector archives.
getStyle?: ( layerName: string, properties: Object | null ) => VectorTileStyle | null
}
)Inherited
From ImageOverlay
- Properties