Package io.jmix.mapsui.component
Class LeafletComponentsHelper
java.lang.Object
io.jmix.mapsui.component.LeafletComponentsHelper
INTERNAL:
Helper class providing methods to work with Leaflet components.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyLineStringStyle
(AbstractLeafletVector feature, PolylineStyle style) Applies a polyline style to a leaflet polyline.static void
applyPointStyle
(LMarker marker, PointStyle pointStyle) Applies a point style to a leaflet marker.static void
applyPolygonStyle
(LPolygon polygon, PolygonStyle style) Applies a polygon style to a leaflet polygon.static LHeatMapLayer
buildHeatMap
(Map<org.locationtech.jts.geom.Point, Double> intensityMap, HeatMapOptions heatMapOptions) static PopupState
getPopupState
(PopupWindowOptions popupWindowOptions) Translates popup window options to a shared state object.static TooltipState
getTooltipState
(TooltipOptions tooltipOptions) Translates tooltip options to a shared state object.
-
Constructor Details
-
LeafletComponentsHelper
public LeafletComponentsHelper()
-
-
Method Details
-
getPopupState
Translates popup window options to a shared state object. -
getTooltipState
Translates tooltip options to a shared state object. -
applyPointStyle
Applies a point style to a leaflet marker. -
applyLineStringStyle
Applies a polyline style to a leaflet polyline. -
applyPolygonStyle
Applies a polygon style to a leaflet polygon. -
buildHeatMap
public static LHeatMapLayer buildHeatMap(Map<org.locationtech.jts.geom.Point, Double> intensityMap, HeatMapOptions heatMapOptions)
-