docsby gkjohnson
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