Creates a set of tiles within a GeoPackage

Hierarchy

Constructors

Properties

boundingBox: BoundingBox

Tile bounding box

projection: Projection

Tiles projection

Methods

  • Add a zoom level

    Returns

    true if zoom level added

    Parameters

    • zoomLevel: any

      zoom level

    Returns boolean

  • Add a range of zoom levels

    Returns

    true if at least one zoom level added

    Parameters

    • minZoom: number

      min zoom level

    • maxZoom: number

      max zoom level

    Returns boolean

  • Add zoom levels

    Returns

    true if at least one zoom level added

    Parameters

    • zoomLevels: number[]

      zoom levels

    Returns boolean

  • Is the XYZ Tiles flag set to generate XYZ tile format tiles.

    Returns

    true if XYZ Tiles format, false if GeoPackage

    Returns boolean

  • Called after set up and right before tile generation starts for the first zoom level

    Returns void

  • Set the compress quality (0.0 to 1.0). The Compress format must be set for this to be used.

    Parameters

    • compressQuality: number

      compression quality

    Returns void

  • Set the skip existing tiles flag

    Parameters

    • skipExisting: boolean

      true to skip existing tiles

    Returns void

  • Set the XYZ Tiles flag to true to generate XYZ tile format tiles. Default is false

    Parameters

    • xyzTiles: boolean

      XYZ Tiles flag

    Returns void

Generated using TypeDoc