Skip to content

MapProjectionEvent

Defined in: ui/events.ts:835

The map projection event

Extends

Properties

newProjection

newProjection: PropertyValueSpecification<ProjectionDefinitionSpecification>

Defined in: ui/events.ts:845

Specifies the name of the new projection. For example:

  • globe to describe globe that has internally switched to mercator
  • vertical-perspective to describe a globe that doesn't change to mercator
  • mercator to describe mercator projection

target

target: Map

Defined in: ui/events.ts:486

The object that fired the event. Set when the event is fired, and narrowed to a more specific type (e.g. Map, Marker) by the event subclasses.

Inherited from

MapLibreEvent.target