Skip to content

Commit 25a3fbc

Browse files
paodbjavier-godoy
authored andcommitted
fix: fix setting draggable flag on element
Close #33
1 parent 3aafa47 commit 25a3fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/googlemaps/GoogleMapMarker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private void initialize() {
8686
this.getElement().setAttribute("title", caption);
8787
this.getElement().setAttribute("latitude", "" + position.getLat());
8888
this.getElement().setAttribute("longitude", "" + position.getLon());
89-
this.getElement().setAttribute("draggable", draggable);
89+
this.getElement().setAttribute("draggable", String.valueOf(draggable));
9090
this.getElement().setAttribute("icon", iconUrl);
9191
}
9292

0 commit comments

Comments
 (0)