Feature Tile Canvas for creating layered tiles to draw ordered features. Draw Order: polygons, lines, points, icons

Hierarchy

  • FeatureTileCanvas

Constructors

  • Constructor

    Parameters

    • tileWidth: number

      tile width

    • tileHeight: number

      tile height

    • Optional canvas: HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D

      user provided canvas (must match size)

    Returns FeatureTileCanvas

Methods

  • Get the icon canvas

    Returns

    icon canvas

    Returns HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D

  • Get the line graphics

    Returns

    line graphics

    Returns HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D

  • Get the point graphics

    Returns

    point graphics

    Returns HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D

  • Get the polygon graphics

    Returns

    polygon graphics

    Returns HTMLCanvasElement | OffscreenCanvas | EmulatedCanvas2D

Generated using TypeDoc