A Vaadin add-on that implements Java API for MapLibreGL slippy map component.
Features:
- Show vector tile maps as background layer
- Plot markers, lines and polygons on the map using the "standard" JTS data types.
- Binder compatible editor components for Point, LineString and Polygon data types.
For code examples, check out the src/test/java directory.
Online demos:
Demo app showing the basic features
Currently, the add-on is implemented purely with DOM API + JS calls. The required JS & CSS are injected on the fly. The rationaly was to avoid the need for custom front-end bundle -> easier to maintain and take in use in application projects.
Starting the test/demo server:
mvn jetty:run
This deploys demo at http://localhost:8080
TODO add integration tests :-)
With commit rights to the repository, issue:
mvn release:prepare release:clean
Configured GH action will build a release and push to Maven Central.