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

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.