Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TiledMapSwitcherControlOptions

Hierarchy

Index

Properties

Optional includes

includes: any

includes is a special class property that merges all specified objects into the class (such objects are called mixins). A good example of this is L.Mixin.Events that event-related methods like on, off and fire to the class.

initialize

initialize: function

Type declaration

    • (layers: LayerSource[]): void
    • Parameters

      • layers: LayerSource[]

      Returns void

layers

layers: LayerSource[]

onAdd

onAdd: function

Type declaration

    • (map: Map): HTMLElement
    • Parameters

      Returns HTMLElement

Optional options

options: any

options is a special property that unlike other objects that you pass to extend will be merged with the parent one instead of overriding it completely, which makes managing configuration of objects and default values convenient.

Optional static

static: any

statics is just a convenience property that injects specified object properties as the static properties of the class, useful for defining constants.