Directory

← Back

Leaflet

Leaflet component provides a JAVA API for Leaflet maps library.

Author

Rating

Popularity

200+

Description

JAVA API for Leaflet maps library.

Based on leaflet4vaadin.

Features

Sample code

MapOptions options = new DefaultMapOptions();
options.setCenter(new LatLng(47.070121823, 19.204101562500004));
options.setZoom(7);
LeafletMap leafletMap = new LeafletMap(options );
leafletMap.setBaseUrl("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png");
add(leafletMap);

Compatibility

(Loading compatibility data...)

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

Fix an error with the production mode and devbundle for the plugins

Released
2024-03-12
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 24+
Vaadin 23 in 1.0.0
Vaadin 14 in 1.0.0
Browser
N/A

Leaflet - Vaadin Add-on Directory

Leaflet component provides a JAVA API for Leaflet maps library. Leaflet - Vaadin Add-on Directory
### Description JAVA API for [Leaflet maps library](https://github.com/Leaflet/Leaflet). Based on [leaflet4vaadin](https://github.com/Gubancs/leaflet4vaadin). ### Features - map configuration - interactive layers - map and layer events - markers - tooltip and popup binding - layer groups - vector layers - dark theme - map controls (zoom, layers, scale) - map state functions - tile layers - GeoJSON support - support for Leaflet plugins: - [Leaflet.heat](https://github.com/Leaflet/Leaflet.heat) - [leaflet.fullscreen](https://github.com/brunob/leaflet.fullscreen) - [leaflet-kmz](https://github.com/Raruto/leaflet-kmz) - [Leaflet.markercluster](https://github.com/Leaflet/Leaflet.markercluster) - [Leaflet.Canvas-Markers](https://github.com/eJuke/Leaflet.Canvas-Markers) - support for [Esri Leaflet plugins](https://github.com/Esri/esri-leaflet): - L.esri.DynamicMapLayer - L.esri.TiledMapLayer - L.esri.Vector.vectorBasemapLayer
Online