Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttributionControlDirective

Hierarchy

  • Attribution
    • AttributionControlDirective

Implements

  • OnDestroy

Index

Constructors

constructor

Properties

addEvent

addEvent: EventEmitter<Event> = new EventEmitter()

attributionsChange

attributionsChange: EventEmitter<string[]> = new EventEmitter()

clickEvent

clickEvent: EventEmitter<MouseEvent> = new EventEmitter()

dbclickEvent

dbclickEvent: EventEmitter<MouseEvent> = new EventEmitter()

displayChange

displayChange: EventEmitter<boolean> = new EventEmitter()

mousedownEvent

mousedownEvent: EventEmitter<MouseEvent> = new EventEmitter()

mouseoutEvent

mouseoutEvent: EventEmitter<MouseEvent> = new EventEmitter()

mouseoverEvent

mouseoverEvent: EventEmitter<MouseEvent> = new EventEmitter()

options

options: AttributionOptions

positionChange

positionChange: EventEmitter<string> = new EventEmitter()

prefixChange

prefixChange: EventEmitter<string> = new EventEmitter()

removeEvent

removeEvent: EventEmitter<Event> = new EventEmitter()

zIndexChange

zIndexChange: EventEmitter<number> = new EventEmitter()

Accessors

attributions

  • get attributions(): string[]
  • set attributions(val: string[]): void

display

  • get display(): boolean
  • set display(val: boolean): void

opacity

  • get opacity(): number
  • set opacity(val: number): void

position

  • get position(): ControlPosition
  • set position(val: ControlPosition): void

prefix

  • get prefix(): string
  • set prefix(val: string): void

Methods

addAttribution

  • addAttribution(val: string)

addTo

  • addTo(map: Map)
  • Parameters

    • map: Map

getContainer

  • getContainer(): HTMLElement
  • Returns HTMLElement

getPosition

  • getPosition(): ControlPosition
  • Returns ControlPosition

ngOnDestroy

  • ngOnDestroy(): void

onAdd

  • onAdd(map: Map): HTMLElement
  • Parameters

    • map: Map

    Returns HTMLElement

onRemove

  • onRemove(map: Map): void
  • Parameters

    • map: Map

    Returns void

remove

  • remove()

removeAllAttributions

  • removeAllAttributions(silent?: boolean)

removeAttribution

  • removeAttribution(val: string)

setPosition

  • setPosition(val: ControlPosition)

setPrefix

  • setPrefix(prefix: string)

Generated using TypeDoc