Appearance
Documentation / @geoverse/core-ol / HeatLayerOptions
Interface: HeatLayerOptions
Defined in: packages/core-ol/src/layers/heatLayer.ts:9
Extends
Options
Properties
blur?
ts
optional blur?: NumberExpression;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:69
Blur size in pixels. This is added to the radius parameter above to create the final size of the blur effect.
Inherited from
ts
Options.blurclassName?
ts
optional className?: string;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:14
A CSS class name to set to the layer element.
Inherited from
ts
Options.classNamecoordinates?
ts
optional coordinates?: Coordinate[];Defined in: packages/core-ol/src/layers/heatLayer.ts:11
初始热力点(WGS-84 经纬度数组,>5 万点会有渲染性能风险)
extent?
ts
optional extent?: Extent;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:27
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
Inherited from
ts
Options.extentfilter?
ts
optional filter?: BooleanExpression;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:79
Optional filter expression.
Inherited from
ts
Options.filtergradient?
ts
optional gradient?: string[];Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:59
The color gradient of the heatmap, specified as an array of CSS color strings.
Inherited from
ts
Options.gradientmaxResolution?
ts
optional maxResolution?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:44
The maximum resolution (exclusive) below which this layer will be visible.
Inherited from
ts
Options.maxResolutionmaxZoom?
ts
optional maxZoom?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:54
The maximum view zoom level (inclusive) at which this layer will be visible.
Inherited from
ts
Options.maxZoomminResolution?
ts
optional minResolution?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:39
The minimum resolution (inclusive) at which this layer will be visible.
Inherited from
ts
Options.minResolutionminZoom?
ts
optional minZoom?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:49
The minimum view zoom level (exclusive) above which this layer will be visible.
Inherited from
ts
Options.minZoomopacity?
ts
optional opacity?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:18
Opacity (0, 1).
Inherited from
ts
Options.opacityproperties?
ts
optional properties?: {
[x: string]: any;
};Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:93
Arbitrary observable properties. Can be accessed with #get() and #set().
Index Signature
ts
[x: string]: anyInherited from
ts
Options.propertiesradius?
ts
optional radius?: NumberExpression;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:64
Radius size in pixels. Note that for LineStrings, the width of the line will be double the radius.
Inherited from
ts
Options.radiussource?
ts
optional source?: VectorSource<Feature<Geometry, {
[x: string]: any;
}>>;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:89
Point source.
Inherited from
ts
Options.sourcevariables?
ts
optional variables?: {
[x: string]: string | number | boolean | number[];
};Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:83
Variables used in expressions (optional)
Index Signature
ts
[x: string]: string | number | boolean | number[]Inherited from
ts
Options.variablesvisible?
ts
optional visible?: boolean;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:22
Visibility.
Inherited from
ts
Options.visibleweight?
ts
optional weight?: WeightExpression;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:75
The feature attribute to use for the weight. This also supports expressions returning a number or a function that returns a weight from a feature. Weight values should range from 0 to 1 (and values outside will be clamped to that range).
Inherited from
ts
Options.weightzIndex?
ts
optional zIndex?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/Heatmap.d.ts:34
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. When undefined, a zIndex of 0 is assumed for layers that are added to the map's layers collection, or Infinity when the layer's setMap() method was used.
Inherited from
ts
Options.zIndex