Class VectorLayerLeafletLayerTranslator
java.lang.Object
io.jmix.mapsui.component.leaflet.translators.VectorLayerLeafletLayerTranslator
- All Implemented Interfaces:
LeafletLayerTranslator
@Component("map_VectorLayerLeafletLayerTranslator")
@Order(990)
public class VectorLayerLeafletLayerTranslator
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 TypeMethodDescriptionprotected <T> VectorLayerHolder<T>
buildLayerHolder
(VectorLayer<T> vectorLayer) protected String
retrieveGeometryProperty
(VectorLayer<?> vectorLayer) LeafletLayerHolder<? extends LeafletLayer>
translateLayer
(Layer layer) Returns an instance ofLeafletLayerHolder
, containing Leaflet representation of the given layer.protected <T> LeafletLayerHolder<?>
translateLayer
(VectorLayer<T> vectorLayer)
-
Constructor Details
-
VectorLayerLeafletLayerTranslator
public VectorLayerLeafletLayerTranslator()
-
-
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
-
translateLayer
-
buildLayerHolder
-
retrieveGeometryProperty
-