Skip to content

@smartmaps/mapsDocs


@smartmaps/maps / BrandControl

Class: BrandControl

Extends

  • Control

Constructors

new BrandControl()

new BrandControl(options): BrandControl

Parameters

options: Partial\<BrandOptions> = {}

Returns

BrandControl

Overrides

Control.constructor

Properties

brandImage

protected brandImage: HTMLImageElement


container

protected container: HTMLAnchorElement


map

protected map: Map


options

options: BrandOptions

Overrides

Control.options

Methods

onAdd()

onAdd(map): HTMLElement

Parameters

map: Map

Returns

HTMLElement

Overrides

Control.onAdd


onRemove()

onRemove(): void

Returns

void

Overrides

Control.onRemove