All Known Implementing Classes:
Circle, CircleMarker, FeatureGroup, MarkerClusterGroup, MultiPolygon, MultiPolyline, Path, Polygon, Polyline, Rectangle

public interface HasStyle
Common interface of the leaflet layers which have style.
Since:
2020-03-12
Version:
1.0
Author:
Gabor Kokeny Email: kokeny19@gmail.com
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the current path style options applied to this layer.
    void
    setStyle(PathOptions pathOptions)
    Changes the appearance of this layer by applying the given path style options.
  • Method Details

    • getStyle

      PathOptions getStyle()
      Returns the current path style options applied to this layer.
      Returns:
      the current style options
    • setStyle

      void setStyle(PathOptions pathOptions)
      Changes the appearance of this layer by applying the given path style options.
      Parameters:
      pathOptions - the style options to apply