Class Rectangle
java.lang.Object
org.vaadin.addons.componentfactory.leaflet.LeafletObject
org.vaadin.addons.componentfactory.leaflet.layer.Layer
org.vaadin.addons.componentfactory.leaflet.layer.InteractiveLayer
org.vaadin.addons.componentfactory.leaflet.layer.vectors.Path
org.vaadin.addons.componentfactory.leaflet.layer.vectors.Polyline
org.vaadin.addons.componentfactory.leaflet.layer.vectors.Polygon
org.vaadin.addons.componentfactory.leaflet.layer.vectors.Rectangle
- All Implemented Interfaces:
Serializable,Evented,SupportsMouseEvents,HasStyle,Identifiable,LayerPopupFunctions,LayerTooltipFunctions,ExecutableFunctions,PathFunctions
A class for drawing rectangle overlays on a map. Extends Polygon.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.vaadin.addons.componentfactory.leaflet.layer.Layer
Layer.LayerEventType -
Field Summary
Fields inherited from class org.vaadin.addons.componentfactory.leaflet.layer.Layer
DEFAULT_PANE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.vectors.Polygon
getLatlngsMethods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.vectors.Polyline
getBounds, getSmoothFactor, isEmpty, isNoClip, setNoClip, setSmoothFactorMethods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.vectors.Path
getClassName, getColor, getDashArray, getDashOffset, getFillColor, getFillOpacity, getFillRule, getLineCap, getLineJoin, getOpacity, getStyle, getWeight, isFill, isStroke, setClassName, setColor, setDashArray, setDashOffset, setFill, setFillColor, setFillOpacity, setFillRule, setLineCap, setLineJoin, setOpacity, setStroke, setStyle, setWeightMethods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.InteractiveLayer
isBubblingMouseEvents, isInteractive, setBubblingMouseEvents, setInteractiveMethods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.Layer
addEventListener, addTo, addTo, bindPopup, bindPopup, bindTooltip, bindTooltip, clearAllEventListeners, fireEvent, getAttribution, getEvents, getPane, getPopup, getTooltip, hasEventListeners, onAdd, onPopupClose, onPopupOpen, onRemove, onTooltipClose, onTooltipOpen, remove, removeEventListener, set, setAttribution, setPane, unbindPopup, unbindTooltipMethods inherited from class org.vaadin.addons.componentfactory.leaflet.LeafletObject
call, configureObjectMapper, executeJs, getConstructorArgumentNames, getJson, getLeafletType, getParent, getUuid, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.vaadin.addons.componentfactory.leaflet.layer.events.Evented
addEventListener, clearAllEventListeners, hasEventListeners, listens, off, off, on, removeEventListenerMethods inherited from interface org.vaadin.addons.componentfactory.leaflet.layer.map.functions.ExecutableFunctions
call, call, executeJs, executeJsMethods inherited from interface org.vaadin.addons.componentfactory.leaflet.layer.Identifiable
getUuidMethods inherited from interface org.vaadin.addons.componentfactory.leaflet.layer.LayerPopupFunctions
closePopup, isPopupOpen, openPopup, openPopup, setPopupContent, setPopupContent, togglePopupMethods inherited from interface org.vaadin.addons.componentfactory.leaflet.layer.LayerTooltipFunctions
closeTooltip, isTooltipOpen, openTooltip, openTooltip, setTooltipContent, setTooltipContent, toggleTooltipMethods inherited from interface org.vaadin.addons.componentfactory.leaflet.layer.vectors.PathFunctions
bringToBack, bringToFront, redrawMethods inherited from interface org.vaadin.addons.componentfactory.leaflet.layer.events.supports.SupportsMouseEvents
onClick, onContextMenuOpened, onDoubleClick, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp
-
Constructor Details
-
Rectangle
Instantiates a rectangle from the given geographical points defining its corners.- Parameters:
latlngs- the geographical points defining the rectangle
-
Rectangle
Instantiates a rectangle from the given list of geographical points defining its corners.- Parameters:
latlngs- the geographical points defining the rectangle
-