Skip to content

Documentation / @geoverse/core-ol / MassLayerOptions

Interface: MassLayerOptions

Defined in: packages/core-ol/src/layers/massLayer.ts:373

Extends

Properties

background?

ts
optional background?: BackgroundColor;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:62

Background color for the layer. If not specified, no background will be rendered.

Inherited from

ts
ImageLayerOptions.background

className?

ts
optional className?: string;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:6

A CSS class name to set to the layer element.

Inherited from

ts
ImageLayerOptions.className

extent?

ts
optional extent?: Extent;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:19

The bounding extent for layer rendering. The layer will not be rendered outside of this extent.

Inherited from

ts
ImageLayerOptions.extent

graphics?

ts
optional graphics?: Graphic[];

Defined in: packages/core-ol/src/layers/massLayer.ts:375

初始海量点(坐标 WGS-84 经纬度)


hitZoom?

ts
optional hitZoom?: number;

Defined in: packages/core-ol/src/layers/massLayer.ts:379

命中交互的最小层级,默认 15


map?

ts
optional map?: Map;

Defined in: packages/core-ol/src/layers/massLayer.ts:377

地图实例(命中交互/投影转换需要)

Overrides

ts
ImageLayerOptions.map

maxResolution?

ts
optional maxResolution?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:36

The maximum resolution (exclusive) below which this layer will be visible.

Inherited from

ts
ImageLayerOptions.maxResolution

maxZoom?

ts
optional maxZoom?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:46

The maximum view zoom level (inclusive) at which this layer will be visible.

Inherited from

ts
ImageLayerOptions.maxZoom

minResolution?

ts
optional minResolution?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:31

The minimum resolution (inclusive) at which this layer will be visible.

Inherited from

ts
ImageLayerOptions.minResolution

minZoom?

ts
optional minZoom?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:41

The minimum view zoom level (exclusive) above which this layer will be visible.

Inherited from

ts
ImageLayerOptions.minZoom

onClick?

ts
optional onClick?: GraphicHitCallback;

Defined in: packages/core-ol/src/layers/massLayer.ts:381

点击回调


onHover?

ts
optional onHover?: GraphicHoverCallback;

Defined in: packages/core-ol/src/layers/massLayer.ts:383

悬浮回调


opacity?

ts
optional opacity?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:10

Opacity (0, 1).

Inherited from

ts
ImageLayerOptions.opacity

properties?

ts
optional properties?: {
[x: string]: any;
};

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:66

Arbitrary observable properties. Can be accessed with #get() and #set().

Index Signature

ts
[x: string]: any

Inherited from

ts
ImageLayerOptions.properties

source?

ts
optional source?: MassSource;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:57

Source for this layer.

Inherited from

ts
ImageLayerOptions.source

visible?

ts
optional visible?: boolean;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:14

Visibility.

Inherited from

ts
ImageLayerOptions.visible

zIndex?

ts
optional zIndex?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseImage.d.ts:26

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
ImageLayerOptions.zIndex