@itwin/core-frontend
Version:
iTwin.js frontend components
38 lines • 1.77 kB
TypeScript
/** @packageDocumentation
* @module Tiles
*/
import { BaseLayerSettings, ColorDef, MapLayerSettings } from "@itwin/core-common";
import { SceneContext } from "../../ViewContext";
import { DisclosedTileTreeSet, MapLayerTileTreeReference, TileTreeOwner } from "../../tile/internal";
import { IModelConnection } from "../../IModelConnection";
/** @internal */
export interface LayerTileTreeReference {
iModel: IModelConnection;
treeOwner: TileTreeOwner;
shouldDrapeLayer: (layerTreeRef?: MapLayerTileTreeReference) => boolean;
}
/** @internal */
export declare class LayerTileTreeReferenceHandler {
protected readonly _layerTrees: (MapLayerTileTreeReference | undefined)[];
isOverlay: boolean;
protected _baseImageryLayerIncluded: boolean;
protected _baseLayerSettings?: BaseLayerSettings;
protected _baseTransparent: boolean;
protected _baseColor?: ColorDef;
protected _layerSettings: MapLayerSettings[];
private _ref;
private readonly _mapTile;
private readonly _detachFromDisplayStyle;
get layerTrees(): (MapLayerTileTreeReference | undefined)[];
get baseColor(): ColorDef | undefined;
get baseTransparent(): boolean;
get baseImageryLayerIncluded(): boolean;
get layerSettings(): MapLayerSettings[];
discloseTileTrees(trees: DisclosedTileTreeSet): void;
constructor(ref: LayerTileTreeReference, pIsOverlay: boolean, baseLayerSettings?: BaseLayerSettings, layerSettings?: MapLayerSettings[], mapTile?: boolean);
initializeLayers(context: SceneContext): boolean;
setBaseLayerSettings(baseLayerSettings: BaseLayerSettings): void;
clearLayers(): void;
setLayerSettings(layerSettings: MapLayerSettings[]): void;
}
//# sourceMappingURL=LayerTileTreeReferenceHandler.d.ts.map