Interface FeatureGroupFunctions

All Superinterfaces:
ExecutableFunctions, Identifiable
All Known Implementing Classes:
FeatureGroup, MarkerClusterGroup

public interface FeatureGroupFunctions extends ExecutableFunctions
FeatureGroup methods
Since:
2020-03-22
Version:
1.0
Author:
Gabor Kokeny Email: kokeny19@gmail.com
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Brings the layer group to the back of all other layers
    default void
    Brings the layer group to the top of all other layers
    Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).
    default void
    setStyle(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, executeJs

    Methods inherited from interface org.vaadin.addons.componentfactory.leaflet.layer.Identifiable

    getUuid
  • Method Details

    • setStyle

      default void setStyle(PathOptions pathOptions)
      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

      default CompletableFuture<LatLngBounds> getBounds()
      Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).
      Returns:
      the LatLngBounds of the Feature Group