Directory

← Back

V-Leaflet MousePosition extensions

Vaadin Extension for the Leaflet.MousePosition library.

Author

Rating

Popularity

<100

Use this plugin to show the mouse coordinates in your V-Leaflet maps.

Sample code

        LMap leafletMap = new LMap();

        Point p = new GeometryFactory().createPoint(new Coordinate(8.622, 45.819));
        leafletMap.setCenter(p);

        LTileLayer osm = new LTileLayer("http://{s}.tile.osm.org/{z}/{x}/{y}.png");
        leafletMap.addBaseLayer(osm, "Open Street Map");

        leafletMap.addControl(new LMousePosition());

Compatibility

0.0.30.0.40.0.5
(24.3)
(24.2)
(24.1)
(24)
(23)
(22)
(21)
(20)
(19)
(18)
(17)
(16)
(15)
(14)
(13)
(12)
(11)
(10)
(8.21)
(8.20)
(8.19)
(8.18)
(8.17)
(8.16)
(8.15)
(8.14)
(8.13)
(8.12)
(8.11)
(8.10)
(8.9)
(8.8)
(8.7)
(8.6)
(8.5)
(8.4)
(8.3)
(8.2)
(8.1)
(8.0)
7.6-7.7YYY
(7.5)
(7.4)
(7.3)
(7.2)
(7.1)
(7.0)
(6.8)
(6.7)
(6.6)
(6.5)
(6.4)
(6.3)
(6.2)
(6.1)
(6.0)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Supports the definition of prefixes to be shown before the coordinates values.

Released
2017-08-29
Maturity
BETA
License
MIT License

Compatibility

Framework
Vaadin 7.6+
Browser
N/A

Vaadin Add-on Directory

Find open-source widgets, add-ons, themes, and integrations for your Vaadin application. Vaadin Add-on Directory
The channel for finding, promoting, and distributing Vaadin add-ons.
Online