Expand description
Constructors§
Source§new RasterLayer(
layerInfo: ILayerInfo,
layerRenderInfo: ILayerRenderInfo,
layerData: ILayerData,
): RasterLayer
new RasterLayer(
layerInfo: ILayerInfo,
layerRenderInfo: ILayerRenderInfo,
layerData: ILayerData,
): RasterLayer
Constructor for Raster
Properties§
Source§protected _ components: ILayerComponent[] = []
protected _ components: ILayerComponent[] = []
Components of the layer.
Source§protected _ data Is Dirty: boolean = false
protected _ data Is Dirty: boolean = false
Indicates if the layer's data is dirty. This is used to determine if VOBs need to be reconstructed.
Source§protected _ layer Info: ILayerInfo
protected _ layer Info: ILayerInfo
Layer information.
Source§protected _ layer Render Info: ILayerRenderInfo
protected _ layer Render Info: ILayerRenderInfo
Layer rendering information.
Accessors§
Source§get components(): ILayerComponent[]
get components(): ILayerComponent[]
Get the components of the layer.
Source§get layerInfo(): ILayerInfo
get layerInfo(): ILayerInfo
Gets the information of the layer.
Source§set layerInfo(layerInfo: ILayerInfo): void
set layerInfo(layerInfo: ILayerInfo): void
Sets the information of the layer.
Source§get layerRenderInfo(): ILayerRenderInfo
get layerRenderInfo(): ILayerRenderInfo
Gets the rendering information of the layer.
Source§set layerRenderInfo(layerRenderInfo: ILayerRenderInfo): void
set layerRenderInfo(layerRenderInfo: ILayerRenderInfo): void
Sets the rendering information of the layer.
Methods§
Source§loadComponent(layerComponents: ILayerComponent[]): void
loadComponent(layerComponents: ILayerComponent[]): void
Load the components of the layer.
Source§loadGeometry(layerGeometry: ILayerGeometry[]): void
loadGeometry(layerGeometry: ILayerGeometry[]): void
Load the texture coordinates from the layer data.
Source§loadLayerData(layerData: ILayerData): void
loadLayerData(layerData: ILayerData): void
Load the layer data.
Source§loadRaster(layerRaster: IRasterData[]): void
loadRaster(layerRaster: IRasterData[]): void
Load the raster data from the layer data.
Source§makeLayerDataDirty(): void
makeLayerDataDirty(): void
Marks the layer's data as dirty, indicating that VOBs need to be reconstructed.
Base class for map layers. This class provides the basic structure and functionality for all map layers.
It includes methods for loading data, geometry, components, and thematic data, as well as rendering and picking operations.