Class Circle
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.CircleMarker
org.vaadin.addons.componentfactory.leaflet.layer.vectors.Circle
- All Implemented Interfaces:
Serializable,Evented,SupportsMouseEvents,HasStyle,Identifiable,LayerPopupFunctions,LayerTooltipFunctions,ExecutableFunctions,PathFunctions
A class for drawing circle overlays on a map. Extends CircleMarker. It's an
approximation and starts to diverge from a real circle closer to poles (due
to projection distortion).
- 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.CircleMarker
getLatlng, getRadiusMethods 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
-
Circle
Instantiates a circle at the given geographical point using the default radius.- Parameters:
latlng- the geographical center of the circle
-
Circle
Instantiates a circle at the given geographical point with the given radius in meters.- Parameters:
latlng- the geographical center of the circleradius- the radius of the circle, in meters
-