Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TileLayer
    • IIIFLayer

Index

Constructors

constructor

Properties

_url

_url: string = ""

height

height: number = 0

initializePromise

initializePromise: Promise<void>

map

map: null | Map = null

options

server

server: ServerCapabilities = ...

width

width: number = 0

zoomLayers

zoomLayers: { height: number; scale: number; tiles: [number, number]; width: number; zoom: number }[] = ...

Methods

Protected _isValidTile

  • _isValidTile(coords: Coords): boolean
  • Parameters

    • coords: Coords

    Returns boolean

Private changeFormat

  • changeFormat(value: string): void
  • Parameters

    • value: string

    Returns void

Private changeMirroring

  • changeMirroring(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

Private changeQuality

  • changeQuality(value: string): void
  • Parameters

    • value: string

    Returns void

Private changeRotation

  • changeRotation(value: number): void
  • Parameters

    • value: number

    Returns void

Private computeZoomLayers

  • computeZoomLayers(): void
  • Compute the different images by zoom level

    Returns void

Private getBounds

  • getBounds(): LatLngBounds
  • Compute the bounds of the layer.

    Returns LatLngBounds

getTileUrl

  • getTileUrl(coords: Coords): string
  • Generate the tile IIIF url based on the tile coordinates

    Parameters

    • coords: Coords

    Returns string

initialize

  • Initialize the layer by calling the info endpoint of the image,
    compute the server capabilities and set the initial state.

    override

    Parameters

    Returns IIIFLayer

onAdd

onRemove

Private onTileLoadStyle

  • onTileLoadStyle(tile: TileEvent): void
  • Handle border of images when the tiles are not full.

    Parameters

    • tile: TileEvent

    Returns void

Private registerEvents

  • registerEvents(map: Map): void

Private unRegisterEvents

  • unRegisterEvents(map: Map): void

Legend

  • Constructor
  • Property
  • Method
  • Private property
  • Private method
  • Property
  • Protected method

Generated using TypeDoc