docsby gkjohnson
On this page

Properties

maxSettleTimeMs: number = 1

maxParseTimeMs: number = 1

horizonCutoff: number = 0.1

resolution: number | null = 50

useIdleCallback: boolean = true

Methods

new MVTAnnotationsPlugin(
	options: {
		// The `PMTilesOverlay` (or compatible overlay) whose tile content is parsed for point features.
		overlay: Object,

		// Initial camera. Can be updated with `setCamera()`.
		camera: Camera = null,

		// Supplies the annotation callbacks: feature filtering, placement priority, per-character sizing, and render updates. Cannot be changed once initialized.
		driver?: MVTAnnotationsDriver,

		// Target resolution used when selecting the vector tile level to load. This is equivalent to "resolution" value in ImageOverlayPlugin used to drive loaded levels of detail for the overlays. Lower values load coarser tiles with fewer annotations, independently of the shared overlay's own resolution. Set to null to use the overlay resolution.
		resolution: number | null = 50
	}
)