2020-09-18 12:20:33 +00:00
|
|
|
import * as Cesium from 'cesium';
|
2020-09-18 06:38:05 +00:00
|
|
|
|
2019-06-26 12:35:47 +00:00
|
|
|
import { enableProdMode } from '@angular/core';
|
|
|
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
|
|
|
|
|
|
import { AppModule } from './app/app.module';
|
|
|
|
import { environment } from './environments/environment';
|
|
|
|
|
2020-09-18 06:38:05 +00:00
|
|
|
|
|
|
|
|
2019-06-26 12:35:47 +00:00
|
|
|
if (environment.production) {
|
|
|
|
enableProdMode();
|
|
|
|
}
|
|
|
|
|
2020-09-18 06:38:05 +00:00
|
|
|
window['CESIUM_BASE_URL'] = '/assets/cesium/';
|
|
|
|
window['Cesium'] = Cesium;
|
|
|
|
|
2019-06-26 12:35:47 +00:00
|
|
|
platformBrowserDynamic().bootstrapModule(AppModule)
|
|
|
|
.catch(err => console.error(err));
|