Creates a set of tiles within a GeoPackage by downloading the tiles from a URL

Hierarchy

Constructors

Properties

boundingBox: BoundingBox

Tile bounding box

projection: Projection

Tiles projection

Methods

  • Add a HTTP Header field value, appending to any existing values for the field

    Parameters

    • field: string

      field name

    • value: string

      field value

    Returns void

  • Add HTTP Header field values, appending to any existing values for the field

    Parameters

    • field: string

      field name

    • values: string[]

      field values

    Returns void

  • 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

  • Get the HTTP Header fields and field values

    Returns

    header map

    Returns Map<string, string[]>

  • Get the HTTP Header field values

    Returns

    field values

    Parameters

    • field: string

      field name

    Returns string[]

  • Set the number of download attempts per tile

    Parameters

    • downloadAttempts: number

      download attempts per tile

    Returns void

  • Set the HTTP request method

    Parameters

    • httpMethod: string

      method ("GET", "POST")

    Returns void

Generated using TypeDoc