File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
src/main/java/com/flowingcode/vaadin/addons/googlemaps Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -338,6 +338,24 @@ public void setControlSize(int controlSize) {
338338 public int getControlSize () {
339339 return this .getElement ().getProperty ("controlSize" , 0 );
340340 }
341+
342+ /**
343+ * Sets a KML or GeoRSS feed url to be displayed as a KML Layer in the map.
344+ *
345+ * @param url to be displayed.
346+ */
347+ public void setKml (String kml ){
348+ this .getElement ().setProperty ("kml" , kml );
349+ }
350+
351+ /**
352+ * Returns the current KML or GeoRSS feed url associated with a KML Layer in the map.
353+ *
354+ * @return the current url.
355+ */
356+ public String getKml () {
357+ return this .getElement ().getProperty ("kml" );
358+ }
341359
342360 public static class GoogleMapClickEvent extends ClickEvent <GoogleMap > {
343361 private final double lat ;
You can’t perform that action at this time.
0 commit comments