Tile Creator, creates a tile from a tile matrix to the desired projection

Hierarchy

  • TileCreator

Constructors

  • Constructor

    Parameters

    • tileDao: TileDao

      tile dao

    • width: number = TileUtils.TILE_PIXELS_DEFAULT

      request width

    • height: number = TileUtils.TILE_PIXELS_DEFAULT

      request height

    • imageFormat: string

      image format

    Returns TileCreator

Methods

  • Get the request projection

    Returns

    request projection

    Returns Projection

  • Get the tiles projection

    Returns

    tiles projection

    Returns Projection

  • Check if the tile table contains a tile for the request bounding box

    Returns

    true if a tile exists

    Parameters

    • requestBoundingBox: BoundingBox

      request bounding box in the request projection

    Returns boolean

  • Is the request and tile projection the same

    Returns

    true if the same

    Returns boolean

  • Is the request and tile projection the same unit

    Returns

    true if the same

    Returns boolean

  • Sets the request projection

    Parameters

    • requestProjection: Projection

    Returns void

  • Constructor, use the tile tables image width and height as request size

    Parameters

    • tileDao: TileDao

      tile dao

    • Optional imageFormat: string

      image format

    • Optional width: number
    • Optional height: number

    Returns TileCreator

Generated using TypeDoc