Class NoOpHeatmapLayer
java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.layer.Layer<S>
io.jmix.mapsflowui.kit.component.model.layer.BaseVectorLayer<AbstractVectorSource>
io.jmix.mapsflowui.kit.component.model.layer.BaseHeatmapLayer
io.jmix.mapsflowui.kit.component.model.layer.NoOpHeatmapLayer
- All Implemented Interfaces:
BaseHeatmapLayer.HasBaseHeatmapLayerOptions
,BaseHeatmapLayer.HasBlur
,BaseHeatmapLayer.HasGradient
,BaseHeatmapLayer.HasMaxWeight
,BaseHeatmapLayer.HasRadius
,BaseHeatmapLayer.HasWeightProperty
,HasBaseLayerOptions
,Serializable
public class NoOpHeatmapLayer
extends BaseHeatmapLayer
implements BaseHeatmapLayer.HasBaseHeatmapLayerOptions
INTERNAL.
Stub implementation, do not use in application. Used by Jmix Studio for showing preview.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseHeatmapLayer
BaseHeatmapLayer.HasBaseHeatmapLayerOptions, BaseHeatmapLayer.HasBlur, BaseHeatmapLayer.HasGradient, BaseHeatmapLayer.HasMaxWeight, BaseHeatmapLayer.HasRadius, BaseHeatmapLayer.HasWeightProperty
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseVectorLayer
BaseVectorLayer.HasBackground, BaseVectorLayer.HasBaseVectorLayerOptions, BaseVectorLayer.HasDeclutter, BaseVectorLayer.HasRenderBuffer, BaseVectorLayer.HasUpdateWhileAnimating, BaseVectorLayer.HasUpdateWhileInteracting
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
MapObservableObject.ObjectChangeEvent
-
Field Summary
Fields inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseVectorLayer
styles
Fields inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
children, dirty, eventBus, listener, metaProperties, parent, removedChildren, syncId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected HeatmapLayerOptions
getBlur()
<S extends AbstractVectorSource>
Sprotected String
getType()
void
Sets the blur size of heat point in pixels.void
setGradient
(List<String> gradient) Sets the color gradient of the heatmap, specified as a list of CSS color strings.void
setMaxWeight
(Double maxWeight) Sets the maximum weight (intensity).void
Sets the radius size of heat point in pixels.void
setWeightProperty
(String weightProperty) Sets weight (intensity) property that is defined in a feature or in an entity.Methods inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseHeatmapLayer
getOptions
Methods inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseVectorLayer
addStyles, getBackground, getDeclutter, getRenderBuffer, getStyles, getUpdateWhileAnimating, getUpdateWhileInteracting, removeAllStyles, removeStyles, setBackground, setDeclutter, setRenderBuffer, setUpdateWhileAnimating, setUpdateWhileInteracting
Methods inherited from class io.jmix.mapsflowui.kit.component.model.layer.Layer
getClassName, getExtent, getId, getMaxZoom, getMinZoom, getOpacity, getVisible, getZIndex, setClassName, setExtent, setId, setMaxZoom, setMinZoom, setOpacity, setSource, setVisible, setZIndex, withClassName, withExtent, withId, withMaxZoom, withMinZoom, withOpacity, withSource, withVisible, withZIndex
Methods inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
addChild, addListener, clearRemovedChildren, clearRemovedChildrenInDepth, equals, fireChangeEvent, getChildren, getEventBus, getMetaProperties, getRemovedChildren, getSyncId, hashCode, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setMapObjectChangeListener, setMetaProperty, setParent, unmarkDirtyInDepth
-
Constructor Details
-
NoOpHeatmapLayer
public NoOpHeatmapLayer()
-
-
Method Details
-
getType
- Specified by:
getType
in classMapObservableObject
-
createOptions
- Specified by:
createOptions
in classLayer<AbstractVectorSource>
-
getSource
- Specified by:
getSource
in classLayer<AbstractVectorSource>
- Type Parameters:
S
- the source type- Returns:
- the layer source or
null
if not set
-
getGradient
- Specified by:
getGradient
in interfaceBaseHeatmapLayer.HasGradient
- Overrides:
getGradient
in classBaseHeatmapLayer
- Returns:
- list of CSS color strings or
null
if not set
-
setGradient
Description copied from interface:BaseHeatmapLayer.HasGradient
Sets the color gradient of the heatmap, specified as a list of CSS color strings.The default value is
['#00f', '#0ff', '#0f0', '#ff0', '#f00']
.For more details see: setGradient() docs
- Specified by:
setGradient
in interfaceBaseHeatmapLayer.HasGradient
- Overrides:
setGradient
in classBaseHeatmapLayer
- Parameters:
gradient
- list of CSS color strings
-
getRadius
- Specified by:
getRadius
in interfaceBaseHeatmapLayer.HasRadius
- Overrides:
getRadius
in classBaseHeatmapLayer
- Returns:
- radius size in pixels or
null
if not set
-
setRadius
Description copied from interface:BaseHeatmapLayer.HasRadius
Sets the radius size of heat point in pixels. The default value is8
.For more details see: setRadius() docs
- Specified by:
setRadius
in interfaceBaseHeatmapLayer.HasRadius
- Overrides:
setRadius
in classBaseHeatmapLayer
- Parameters:
radius
- radius size in pixels
-
getBlur
- Specified by:
getBlur
in interfaceBaseHeatmapLayer.HasBlur
- Overrides:
getBlur
in classBaseHeatmapLayer
- Returns:
- the blur size in pixels or
null
if not set
-
setBlur
Description copied from interface:BaseHeatmapLayer.HasBlur
Sets the blur size of heat point in pixels. The default value is15
.- Specified by:
setBlur
in interfaceBaseHeatmapLayer.HasBlur
- Overrides:
setBlur
in classBaseHeatmapLayer
- Parameters:
blur
- the blur size in pixels
-
getWeightProperty
- Specified by:
getWeightProperty
in interfaceBaseHeatmapLayer.HasWeightProperty
- Overrides:
getWeightProperty
in classBaseHeatmapLayer
- Returns:
- weight property or
null
if not set
-
setWeightProperty
Description copied from interface:BaseHeatmapLayer.HasWeightProperty
Sets weight (intensity) property that is defined in a feature or in an entity. This property must contain values in range[0.0, 1.0]
.- Specified by:
setWeightProperty
in interfaceBaseHeatmapLayer.HasWeightProperty
- Overrides:
setWeightProperty
in classBaseHeatmapLayer
- Parameters:
weightProperty
- property in a feature or in an entity
-
getMaxWeight
- Specified by:
getMaxWeight
in interfaceBaseHeatmapLayer.HasMaxWeight
- Overrides:
getMaxWeight
in classBaseHeatmapLayer
- Returns:
- the maximum weight or
null
if not set
-
setMaxWeight
Description copied from interface:BaseHeatmapLayer.HasMaxWeight
Sets the maximum weight (intensity). If a point contains weight value that is greater than maximum weight, the point value will be cut by the maximum one. The default value is1
.- Specified by:
setMaxWeight
in interfaceBaseHeatmapLayer.HasMaxWeight
- Overrides:
setMaxWeight
in classBaseHeatmapLayer
- Parameters:
maxWeight
- maximum weight
-