Class LeafletComponentsHelper

java.lang.Object
io.jmix.mapsui.component.LeafletComponentsHelper

public class LeafletComponentsHelper extends Object
INTERNAL: Helper class providing methods to work with Leaflet components.
  • Constructor Details

    • LeafletComponentsHelper

      public LeafletComponentsHelper()
  • Method Details

    • getPopupState

      public static PopupState getPopupState(PopupWindowOptions popupWindowOptions)
      Translates popup window options to a shared state object.
    • getTooltipState

      public static TooltipState getTooltipState(TooltipOptions tooltipOptions)
      Translates tooltip options to a shared state object.
    • applyPointStyle

      public static void applyPointStyle(LMarker marker, PointStyle pointStyle)
      Applies a point style to a leaflet marker.
    • applyLineStringStyle

      public static void applyLineStringStyle(AbstractLeafletVector feature, PolylineStyle style)
      Applies a polyline style to a leaflet polyline.
    • applyPolygonStyle

      public static void applyPolygonStyle(LPolygon polygon, PolygonStyle style)
      Applies a polygon style to a leaflet polygon.
    • buildHeatMap

      public static LHeatMapLayer buildHeatMap(Map<org.locationtech.jts.geom.Point,Double> intensityMap, HeatMapOptions heatMapOptions)