Skip to content

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.blur

className?

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.className

coordinates?

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.extent

filter?

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.filter

gradient?

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.gradient

maxResolution?

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.maxResolution

maxZoom?

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.maxZoom

minResolution?

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.minResolution

minZoom?

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.minZoom

opacity?

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.opacity

properties?

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]: any

Inherited from

ts
Options.properties

radius?

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.radius

source?

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.source

variables?

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.variables

visible?

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.visible

weight?

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.weight

zIndex?

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