Constructors
constructor
- new FeatureTileCanvas(tileWidth: number, tileHeight: number, canvas?: HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D): FeatureTileCanvas
-
Parameters
-
tileWidth: number
-
tileHeight: number
-
Optional
canvas: HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D
Methods
dispose
- dispose(): void
-
Returns void
getIconCanvas
- getIconCanvas(): HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D
-
Returns HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D
getLineCanvas
- getLineCanvas(): HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D
-
Returns HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D
getPointCanvas
- getPointCanvas(): HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D
-
Returns HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D
getPolygonCanvas
- getPolygonCanvas(): HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D
-
Returns HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D
Feature Tile Canvas for creating layered tiles to draw ordered features. Draw Order: polygons, lines, points, icons