@Tag(value="google-map-poly")
@JsModule(value="@flowingcode/google-map/google-map-poly.js") @JsModule(value="@flowingcode/google-map/google-map-point.js")
@NpmPackage(value="@flowingcode/google-map",
version="3.0.0")
public class GoogleMapPolygon
extends com.vaadin.flow.component.Component
Modifier and Type | Class and Description |
---|---|
static class |
GoogleMapPolygon.GoogleMapPolygonClickEvent |
static class |
GoogleMapPolygon.StrokePosition |
Constructor and Description |
---|
GoogleMapPolygon(List<GoogleMapPoint> points) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.flow.shared.Registration |
addClickListener(com.vaadin.flow.component.ComponentEventListener<GoogleMapPolygon.GoogleMapPolygonClickEvent> listener) |
void |
addPoint(GoogleMapPoint point) |
GoogleMapPoint |
addPoint(LatLon position) |
String |
getFillColor() |
double |
getFillOpacity() |
String |
getStrokeColor() |
double |
getStrokeOpacity() |
GoogleMapPolygon.StrokePosition |
getStrokePosition() |
double |
getStrokeWeight() |
double |
getZIndex() |
boolean |
isClosed() |
boolean |
isGeodesic() |
void |
removePoint(GoogleMapPoint point) |
void |
setClosed(boolean b) |
void |
setFillColor(String string) |
void |
setFillOpacity(double opacity) |
void |
setGeodesic(boolean b) |
void |
setPoints(List<GoogleMapPoint> points) |
void |
setStrokeColor(String string) |
void |
setStrokeOpacity(double opacity) |
void |
setStrokePosition(GoogleMapPolygon.StrokePosition position) |
void |
setStrokeWeight(double weight) |
void |
setZIndex(double zindex) |
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
public GoogleMapPolygon(List<GoogleMapPoint> points)
public void setFillOpacity(double opacity)
public double getFillOpacity()
public void setStrokeOpacity(double opacity)
public double getStrokeOpacity()
public void setStrokePosition(GoogleMapPolygon.StrokePosition position)
public GoogleMapPolygon.StrokePosition getStrokePosition()
public void setStrokeWeight(double weight)
public double getStrokeWeight()
public void setZIndex(double zindex)
public double getZIndex()
public void setFillColor(String string)
public String getFillColor()
public void setStrokeColor(String string)
public String getStrokeColor()
public void setClosed(boolean b)
public boolean isClosed()
public void setGeodesic(boolean b)
public boolean isGeodesic()
public void setPoints(List<GoogleMapPoint> points)
public GoogleMapPoint addPoint(LatLon position)
public void addPoint(GoogleMapPoint point)
public void removePoint(GoogleMapPoint point)
public com.vaadin.flow.shared.Registration addClickListener(com.vaadin.flow.component.ComponentEventListener<GoogleMapPolygon.GoogleMapPolygonClickEvent> listener)
Copyright © 2020 Flowing Code. All rights reserved.