Skip to content

Commit bb7995c

Browse files
committed
#58 Add class instead
1 parent c5beede commit bb7995c

File tree

2 files changed

+2
-1
lines changed
  • vaadin-maps-leaflet-flow/src/main

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public LMap(final double lat, final double lon, final int zoom)
6868
super();
6969
this.center = new LCenter(lat, lon, zoom);
7070
this.setViewPoint(this.center);
71+
this.addClassName("leaflet-map");
7172
}
7273

7374
public LMap()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
leaflet-map
1+
.leaflet-map
22
{
33
z-index: 1;
44
}

0 commit comments

Comments
 (0)