docsby gkjohnson
Layering a transparent overlay over the globe's imagery
Data courtesy of Esri World Imagery, Esri World Boundaries and Places
On this page

Methods

new ImageOverlayPlugin(
	options?: {
		// Initial image overlay sources to add.
		overlays: Array = [],

		// Resolution of each generated tile texture in pixels.
		resolution: number = 256,

		// Allow tiles to be split to match image tile boundaries.
		enableTileSplitting: boolean = true
	}
)
addOverlay(
	// An image overlay instance.
	overlay: ImageOverlay,

	// Draw order for this overlay.
	order: number | null = null
): void
setOverlayOrder(
	// The overlay to reorder.
	overlay: ImageOverlay,

	// New draw order value.
	order: number
): void
deleteOverlay(
	// The overlay to remove.
	overlay: ImageOverlay
): void
resetFailedOverlays(): void