For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Class MapProjectionEvent
Hierarchy (View Summary)
- MapLibreEvent
- MapProjectionEvent
Index
Constructors
Properties
Constructors
constructor
Parameters
Optionaldata: any
Returns MapProjectionEvent
Properties
newProjection
Specifies the name of the new projection. For example:
globeto describe globe that has internally switched to mercatorvertical-perspectiveto describe a globe that doesn't change to mercatormercatorto describe mercator projection
originalEvent
originalEvent: unknown
target
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.
type
type: "projectiontransition"
The map projection event