Class CircleMarker
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
- All Implemented Interfaces:
Serializable,Evented,SupportsMouseEvents,HasStyle,Identifiable,LayerPopupFunctions,LayerTooltipFunctions,ExecutableFunctions,PathFunctions
- Direct Known Subclasses:
Circle
A circle of a fixed size with radius specified in pixels. Extends Path.
- 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
ConstructorsConstructorDescriptionCircleMarker(LatLng latlng) Instantiates a circle marker object given a geographical pointCircleMarker(LatLng latlng, double radius) Instantiates a circle marker object given a geographical point and a custom radius in pixels -
Method Summary
Methods 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
-
CircleMarker
Instantiates a circle marker object given a geographical point- Parameters:
latlng- geographical point
-
CircleMarker
Instantiates a circle marker object given a geographical point and a custom radius in pixels- Parameters:
latlng- geographical pointradius- radius in pixels
-
-
Method Details
-
getLatlng
Gets the geographical point where the circle marker is centered.- Returns:
- the latlng
-
getRadius
public double getRadius()Radius of the circle marker, in pixels- Returns:
- the radius in pixels
-