articodeltd / angular-cesium

JavaScript library for creating map based web apps using Cesium and Angular
https://github.com/articodeltd/angular-cesium/settings/pages
MIT License
178 stars 93 forks source link

Use cesium typing. #361

Open Crocsx opened 4 years ago

Crocsx commented 4 years ago

It should be good to upgrade the package so that it use cesium default typing and not angular-cesium special typing for Cartesia3/Cartesian3...

also, removing cesium from the window scope "./node_modules/cesium/Build/Cesium/Cesium.js" and just using necessary package.

I will try to look at it.

EDIT : I checked the code, and some functionality will be missing by doing so. If we don't import cesium library in the window scope, but use es6 import, some code like primitives-primitives and the htmlPrimitive extensions for exemple will not be possible...