Displays the mouse position in the map.

Hierarchy

  • MousePosition
    • MousePosition

Constructors

Constructors

  • Creates a new mouse position control with the dfault values..

    // Example: create a new MousePosition control with the default parameters.
    const mousePositionControl = new MousePosition();

    Parameters

    • Optional options: Options

      All options of the original OpenLayers MousePosition control are alowed.

    Returns MousePosition

Generated using TypeDoc