Class HeatMapLayerLeafletLayerTranslator
java.lang.Object
io.jmix.mapsui.component.leaflet.translators.HeatMapLayerLeafletLayerTranslator
- All Implemented Interfaces:
LeafletLayerTranslator
@Component("map_HeatMapLayerLeafletLayerTranslator")
@Order(995)
public class HeatMapLayerLeafletLayerTranslator
extends Object
implements LeafletLayerTranslator
-
Field Summary
Fields inherited from interface io.jmix.mapsui.component.leaflet.translators.LeafletLayerTranslator
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionretrievePointsFromDataContainer
(CollectionContainer<?> dataContainer, String geometryProperty, String intensityProperty) LeafletLayerHolder<? extends LeafletLayer>
translateLayer
(Layer layer) Returns an instance ofLeafletLayerHolder
, containing Leaflet representation of the given layer.
-
Constructor Details
-
HeatMapLayerLeafletLayerTranslator
public HeatMapLayerLeafletLayerTranslator()
-
-
Method Details
-
translateLayer
Description copied from interface:LeafletLayerTranslator
Returns an instance ofLeafletLayerHolder
, containing Leaflet representation of the given layer.- Specified by:
translateLayer
in interfaceLeafletLayerTranslator
- Parameters:
layer
- to be translated- Returns:
- LeafletLayerHolder
-
retrievePointsFromDataContainer
protected Map<org.locationtech.jts.geom.Point,Double> retrievePointsFromDataContainer(CollectionContainer<?> dataContainer, String geometryProperty, @Nullable String intensityProperty)
-