Options
All
  • Public
  • Public/Protected
  • All
Menu

A tile set that contains data that is possibly copyrighted. The methods of this interface allow users to retrieve copyright related information that should be displayed when using the data contained in this tile set.

Hierarchy

  • AttributedTileSet

Implemented by

Overview

Methods

getAttribution

  • (grid: { height: number; level: number; width: number; x: number; y: number }): string[]
  • Returns a list of attribution strings that should be displayed when using the specified subset of this tile set.

    Parameters

    • grid: { height: number; level: number; width: number; x: number; y: number }

      an object hash describing the tile region for which the attribution strings should be retrieved

      • height: number
      • level: number
      • width: number
      • x: number
      • y: number

    Returns string[]

    a (possibly empty) list of attribution strings

getLogo

  • (): string | null
  • Returns a URL referring to a graphical logo of the copyright owner of this data. If a logo is not available this method will return null.

    Returns string | null

    a URL referring to a graphical logo or null.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method