Appearance
Documentation / @geoverse/core-ol / CustomBaseLayerOptions
Interface: CustomBaseLayerOptions
Defined in: packages/core-ol/src/layers/customBaseLayer.ts:18
Extends
Options<TileSource>
Properties
background?
ts
optional background?: BackgroundColor;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:71
Background color for the layer. If not specified, no background will be rendered.
Inherited from
ts
TileLayerOptions.backgroundcacheSize?
ts
optional cacheSize?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:86
The internal tile cache size. This needs to be large enough to render two zoom levels worth of tiles.
Inherited from
ts
TileLayerOptions.cacheSizeclassName?
ts
optional className?: string;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:10
A CSS class name to set to the layer element.
Inherited from
ts
TileLayerOptions.classNameextent?
ts
optional extent?: Extent;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:23
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
Inherited from
ts
TileLayerOptions.extentlayers?
ts
optional layers?: string;Defined in: packages/core-ol/src/layers/customBaseLayer.ts:26
WMS 图层名
map?
ts
optional map?: Map;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:66
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
TileLayerOptions.mapmaxResolution?
ts
optional maxResolution?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:40
The maximum resolution (exclusive) below which this layer will be visible.
Inherited from
ts
TileLayerOptions.maxResolutionmaxZoom?
ts
optional maxZoom?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:50
The maximum view zoom level (inclusive) at which this layer will be visible.
Inherited from
ts
TileLayerOptions.maxZoomminResolution?
ts
optional minResolution?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:35
The minimum resolution (inclusive) at which this layer will be visible.
Inherited from
ts
TileLayerOptions.minResolutionminZoom?
ts
optional minZoom?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:45
The minimum view zoom level (exclusive) above which this layer will be visible.
Inherited from
ts
TileLayerOptions.minZoomopacity?
ts
optional opacity?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:14
Opacity (0, 1).
Inherited from
ts
TileLayerOptions.opacitypreload?
ts
optional preload?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:55
Preload. Load low-resolution tiles up to preload levels. 0 means no preloading.
Inherited from
ts
TileLayerOptions.preloadprojection?
ts
optional projection?: string;Defined in: packages/core-ol/src/layers/customBaseLayer.ts:24
投影(XYZ 时支持 BD:09 / GCJ:02 走对应纠偏网格)
properties?
ts
optional properties?: {
[x: string]: any;
};Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:79
Arbitrary observable properties. Can be accessed with #get() and #set().
Index Signature
ts
[x: string]: anyInherited from
ts
TileLayerOptions.propertiesserverType?
ts
optional serverType?: CustomBaseServerType;Defined in: packages/core-ol/src/layers/customBaseLayer.ts:20
服务类型,默认 TILESERVER(XYZ 瓦片)
source?
ts
optional source?: TileSource<Tile>;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:59
Source for this layer.
Inherited from
ts
TileLayerOptions.sourceurl?
ts
optional url?: string;Defined in: packages/core-ol/src/layers/customBaseLayer.ts:22
服务地址(XYZ 模板或服务根地址)
useInterimTilesOnError?
ts
optional useInterimTilesOnError?: boolean;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:75
Deprecated. Use interim tiles on error.
Inherited from
ts
TileLayerOptions.useInterimTilesOnErrorvisible?
ts
optional visible?: boolean;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:18
Visibility.
Inherited from
ts
TileLayerOptions.visiblezIndex?
ts
optional zIndex?: number;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/layer/BaseTile.d.ts:30
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
TileLayerOptions.zIndex