@kayahr/etchmap
    Preparing search index...

    Interface MapPointerEvent

    Pointer event enriched with coordinates from all map coordinate systems.

    interface MapPointerEvent {
        originalEvent: PointerEvent;
        sourcePoint: Point;
        viewportPoint: Point;
        worldPoint: Point;
    }

    Hierarchy

    • PointerEvent
      • MapPointerEvent
    Index
    originalEvent: PointerEvent

    Unmodified native pointer 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.