Interface PathFunctions
- All Superinterfaces:
ExecutableFunctions,Identifiable
- All Known Implementing Classes:
Circle,CircleMarker,MultiPolygon,MultiPolyline,Path,Polygon,Polyline,Rectangle
Methods for vector layers
- Since:
- 2020-03-22
- Version:
- 1.1
- Author:
- Gabor Kokeny Email: kokeny19@gmail.com
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidBrings the layer to the bottom of all path layers.default voidBrings the layer to the top of all path layers.default voidredraw()Redraws the layer.default voidsetStyle(PathOptions pathOptions) Changes the appearance of a Path based on the options in the Path options object.Methods 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
getUuid
-
Method Details
-
redraw
default void redraw()Redraws the layer. Sometimes useful after you changed the coordinates that the path uses. -
setStyle
Changes the appearance of a Path based on the options in the Path options object.- Parameters:
pathOptions- the appearance to be use
-
bringToFront
default void bringToFront()Brings the layer to the top of all path layers. -
bringToBack
default void bringToBack()Brings the layer to the bottom of all path layers.
-