StyleChangedEvent interface

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

Extends

Properties

map

The Map instance in which the event occurred on.

originalEvent

The original event that was fired.

style

The name of the style that was loaded.

type

The event type.

Property Details

map

The Map instance in which the event occurred on.

map: Map

Property Value

Map

originalEvent

The original event that was fired.

originalEvent?: Event

Property Value

Event

style

The name of the style that was loaded.

style: string

Property Value

string

type

The event type.

type: string

Property Value

string