sj-ng-webgl-globe
Version:
The fastest way to embed a 3D reactive globe in your Angular application using WebGL Earth. It is an open-source virtual globe made with HTML5 and Canvas WebGL technology. It comes with a JavaScript API adapting the popular LeafletJS API. On top of this A
39 lines (38 loc) • 977 B
TypeScript
import { OnInit, ElementRef } from '@angular/core';
interface Options {
center?: Array<number>;
zoom?: number;
altitude?: number;
atmosphere?: boolean;
sky?: boolean;
minAltitude?: number;
maxAltitude?: number;
dragging?: boolean;
tilting?: boolean;
zooming?: boolean;
scrollWheelZoom?: boolean;
unconstrainedRotation?: boolean;
proxyHost?: string;
}
export declare class SjNgWebglGlobeComponent implements OnInit {
globe: any;
options: Options;
sjGlobe: ElementRef;
center?: Array<number>;
zoom?: number;
altitude?: number;
atmosphere?: boolean;
sky?: boolean;
minAltitude?: number;
maxAltitude?: number;
dragging?: boolean;
tilting?: boolean;
zooming?: boolean;
scrollWheelZoom?: boolean;
unconstrainedRotation?: boolean;
proxyHost?: string;
markers: Array<any>;
constructor();
ngOnInit(): void;
}
export {};