Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface SdkMouseEvent

    interface SdkMouseEvent {
        lat: number;
        lon: number;
        viewportX: number;
        viewportY: number;
        x: number;
        y: number;
    }
    Index

    Properties

    lat: number

    The latitude on the map where the mouse event occurred.

    lon: number

    The longitude on the map where the mouse event occurred.

    viewportX: number

    The horizontal pixel coordinate of the mouse event, relative to the left edge of the screen.

    viewportY: number

    The vertical pixel coordinate of the mouse event, relative to the top edge of the screen.

    x: number

    The horizontal pixel coordinate of the mouse event, relative to the left edge of the map component.

    y: number

    The vertical pixel coordinate of the mouse event, relative to the top edge of the map component.