Skip to content

Documentation / @geoverse/core-ol / GImageLayerOptions

Interface: GImageLayerOptions

Defined in: packages/core-ol/src/layers/imageLayer.ts:5

Extends

  • Options<ImageStatic>

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
Options.background

base?

ts
optional base?: string;

Defined in: packages/core-ol/src/layers/imageLayer.ts:7

图片地址


bounds?

ts
optional bounds?: number[];

Defined in: packages/core-ol/src/layers/imageLayer.ts:11

图片四至范围 [minX, minY, maxX, maxY]


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

map?

ts
optional map?: Map;

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

Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use import ("../Map.js").default#addLayer map.addLayer().

Inherited from

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

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

projection?

ts
optional projection?: string;

Defined in: packages/core-ol/src/layers/imageLayer.ts:9

图片投影


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
Options.properties

source?

ts
optional source?: Static;

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

Source for this layer.

Inherited from

ts
Options.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
Options.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
Options.zIndex