angular-cesium-ivy
Version:
Angular library for working with Angular-Cesium.
40 lines • 1.51 kB
TypeScript
import { OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
import { CesiumService } from '../../services/cesium/cesium.service';
import * as i0 from "@angular/core";
/**
* This component is used for adding a terrain provider service to the map (ac-map)
* options according to selected terrain provider MapTerrainProviderOptions enum.
*
*
* __Usage :__
* ```
* <ac-map-terrain-provider [options]="optionsObject" [provider]="myProvider">
* </ac-map-terrain-provider>
* ```
*/
export declare class AcMapTerrainProviderComponent implements OnInit, OnChanges, OnDestroy {
private cesiumService;
/**
* refer to cesium docs for details https://cesiumjs.org/Cesium/Build/Documentation/TerrainProvider.html
*/
options: {
url?: string;
};
/**
* the provider
*/
provider: any;
/**
* show (optional) - Determines if the map layer is shown.
*/
show: boolean;
private terrainProvider;
private defaultTerrainProvider;
constructor(cesiumService: CesiumService);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<AcMapTerrainProviderComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<AcMapTerrainProviderComponent, "ac-map-terrain-provider", never, { "options": "options"; "provider": "provider"; "show": "show"; }, {}, never, never>;
}
//# sourceMappingURL=ac-map-terrain-provider.component.d.ts.map