Class MultiPolyline
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.MultiPolyline
- All Implemented Interfaces:
Serializable,Evented,SupportsMouseEvents,HasStyle,Identifiable,LayerPopupFunctions,LayerTooltipFunctions,ExecutableFunctions,PathFunctions
A class for drawing multi polyline overlays on a map.
- 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
ConstructorsConstructorDescriptionMultiPolyline(MultiLatLngArray latlngs) Instantiates a multi polyline from the given structure of coordinates, where each element represents a separate polyline. -
Method Summary
Modifier and TypeMethodDescriptionGets the geographical points that make up this polyline.Returns the Leaflet type name of this object, used to instantiate the matching class on the client side.Methods 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, 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
-
MultiPolyline
Instantiates a multi polyline from the given structure of coordinates, where each element represents a separate polyline.- Parameters:
latlngs- the coordinates of each polyline
-
-
Method Details
-
getLatlngs
Gets the geographical points that make up this polyline.- Overrides:
getLatlngsin classPolyline- Returns:
- the coordinates of the polyline
-
getLeafletType
Returns the Leaflet type name of this object, used to instantiate the matching class on the client side.- Overrides:
getLeafletTypein classLeafletObject- Returns:
- the Leaflet type name
-