Interface FeatureGroupFunctions
- All Superinterfaces:
ExecutableFunctions,Identifiable
- All Known Implementing Classes:
FeatureGroup,MarkerClusterGroup
FeatureGroup methods
- Since:
- 2020-03-22
- Version:
- 1.0
- Author:
- Gabor Kokeny Email: kokeny19@gmail.com
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidBrings the layer group to the back of all other layersdefault voidBrings the layer group to the top of all other layersdefault CompletableFuture<LatLngBounds> Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).default voidsetStyle(PathOptions pathOptions) Sets the given path options to each layer of the group that has a setStyle method.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
-
setStyle
Sets the given path options to each layer of the group that has a setStyle method.- Parameters:
pathOptions- the options to each layer of the group
-
bringToFront
default void bringToFront()Brings the layer group to the top of all other layers -
bringToBack
default void bringToBack()Brings the layer group to the back of all other layers -
getBounds
Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).- Returns:
- the LatLngBounds of the Feature Group
-