Skip to content

Commit b1f4d96

Browse files
committed
Cleanup
1 parent 6a96a56 commit b1f4d96

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/MaplibreGLDemo.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
import software.xdev.vaadin.maps.leaflet.registry.LDefaultComponentManagementRegistry;
1313

1414

15-
// @NpmPackage(value = "maplibre-gl", version = "5.6.1")
16-
// @NpmPackage(value = "@maplibre/maplibre-gl-leaflet", version = "0.1.3")
17-
// @JsModule("maplibre-gl/dist/maplibre-gl.js")
18-
// @CssImport("maplibre-gl/dist/maplibre-gl.css")
19-
// @JsModule("@maplibre/maplibre-gl-leaflet/leaflet-maplibre-gl.js")
2015
@Route(MaplibreGLDemo.NAV)
2116
@SuppressWarnings("checkstyle:MagicNumber")
2217
public class MaplibreGLDemo extends VerticalLayout
@@ -39,7 +34,7 @@ public MaplibreGLDemo()
3934

4035
final LMap map = mapContainer.getlMap();
4136

42-
// Add a (default) TileLayer so that we can see something on the map
37+
// Add maplibre layer
4338
new LMaplibreGL(reg, "https://demotiles.maplibre.org/style.json").addTo(map);
4439

4540
// Set what part of the world should be shown

plugins/maplibre-gl-leaflet/src/main/java/software/xdev/vaadin/maps/leaflet/layer/vector/maplibregl/LAbstractMaplibreGLOptions.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
import software.xdev.vaadin.maps.leaflet.base.LComponentOptions;
1919

2020

21+
/**
22+
* @see <a href="https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/MapOptions/">MapLibre docs</a>
23+
*/
2124
public abstract class LAbstractMaplibreGLOptions<S extends LAbstractMaplibreGLOptions<S>>
2225
implements LComponentOptions<S>
2326
{

plugins/maplibre-gl-leaflet/src/main/java/software/xdev/vaadin/maps/leaflet/layer/vector/maplibregl/LMaplibreGL.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
import software.xdev.vaadin.maps.leaflet.registry.LComponentManagementRegistry;
2424

2525

26+
/**
27+
* Layer for MaplibreGL
28+
*
29+
* @see <a href="https://github.com/maplibre/maplibre-gl-leaflet/blob/main/API.md">MapLibre-GL-Leaflet API docs</a>
30+
*/
2631
@NpmPackage(value = "maplibre-gl", version = "5.6.1")
2732
@NpmPackage(value = "@maplibre/maplibre-gl-leaflet", version = "0.1.3")
2833
@JsModule("maplibre-gl/dist/maplibre-gl.js")

0 commit comments

Comments
 (0)