StyleChangedEvent interface

Event object returned by the map after loading a new style.

Extends

Properties

style

The name of the style that was loaded.

Inherited Properties

map

The Map instance in which the event occurred on.

originalEvent

The original event that was fired.

type

The event type.

Property Details

style

The name of the style that was loaded.

style: string

Property Value

string

Inherited Property Details

map

The Map instance in which the event occurred on.

map: Map

Property Value

Map

Inherited From MapEvent.map

originalEvent

The original event that was fired.

originalEvent?: Event

Property Value

Event

Inherited From MapEvent.originalEvent

type

The event type.

type: string

Property Value

string

Inherited From MapEvent.type