@kayahr/etchmap
    Preparing search index...

    Interface MapWheelEvent

    Wheel event enriched with coordinates from all map coordinate systems.

    interface MapWheelEvent {
        originalEvent: WheelEvent;
        sourcePoint: Point;
        viewportPoint: Point;
        worldPoint: Point;
    }

    Hierarchy

    • WheelEvent
      • MapWheelEvent
    Index
    originalEvent: WheelEvent

    Unmodified native wheel event from which this map event was created.

    sourcePoint: Point

    Position in coordinates interpreted by the current tile-source projection, such as longitude and latitude for Web Mercator.

    viewportPoint: Point

    Position within the map viewport in CSS pixels.

    worldPoint: Point

    Position in minimum-zoom world pixels. Horizontal coordinates may be outside the base world when the source wraps.