We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a492d26 commit df4cf95Copy full SHA for df4cf95
src/main/java/com/flowingcode/vaadin/addons/googlemaps/GoogleMap.java
@@ -357,7 +357,14 @@ public void setKml(String kml){
357
public String getKml() {
358
return this.getElement().getProperty("kml");
359
}
360
-
+
361
+ /**
362
+ * Enables markers clustering.
363
+ */
364
+ public void enableMarkersClustering() {
365
+ this.getElement().setProperty("enableMarkersClustering", true);
366
+ }
367
368
public static class GoogleMapClickEvent extends ClickEvent<GoogleMap> {
369
private final double lat;
370
private final double lon;
0 commit comments