MapProjectionEvent
The map projection event
Extends
Properties
newProjection
newProjection:
PropertyValueSpecification<ProjectionDefinitionSpecification>
Specifies the name of the new projection. For example:
-
globeto describe globe that has internally switched to mercator -
vertical-perspectiveto describe a globe that doesn't change to mercator -
mercatorto describe mercator projection
target
target:
Map
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
© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/classes/MapProjectionEvent/