Comments (11)
I'm on it. Should be done by the end of the week.
from ol-cesium.
Great. Thank you!
from ol-cesium.
See openlayers/openlayers#2479.
from ol-cesium.
ol3-cesium can be now compiled in ADVANCED with the new externs (but only with checkTypes: "OFF"
because of issues with missing @api
annotations in ol3 code).
Thanks @ahocevar and @petrsloup
from ol-cesium.
Alternative would be to compile ol3-cesium together with ol3 itself - to get a single ADVANCED minimised js, which we plan to support anyway, but it does not follow the preffered external ol3 approach we specified before.
If we want to compile ol3-cesium with Closure Compiler in advanced mode I do not understand why we do not always compile ol3-cesium and ol3 together. And if we do that we do not need externs for ol3 and we can use in ol3-cesium any ol3 properties/symbols – no need for exports.
from ol-cesium.
@elemoine FYI, it is one of our requirements to have a stand-alone build of ol3-cesium.
from ol-cesium.
@elemoine FYI, it is one of our requirements to have a stand-alone build of ol3-cesium.
Yep, that makes sense. But still. For the stand-alone build all the ol3 exports could be included. In this way ol3-cesium.js would effectively the full ol3. And if what you is a subset of ol3 you can even define your own set of ol3 exports in the build configuration file.
from ol-cesium.
By stand-alone build I mean a build of ol3-cesium, without ol3 or cesium included. The npm way. Both ol3 and cesium are included separately.
from ol-cesium.
By stand-alone build I mean a build of ol3-cesium, without ol3 or cesium included. The npm way. Both ol3 and cesium are included separately.
Ok. Out of curiosity why wouldn't a standalone ol3-cesium build that does include ol3 work for you? People using ol3-cesium would need a full ol3 build anyway, because they would not be able to know what of ol3 ol3-cesium would need for its own use.
One of our requirements would be to be able to compile ol3 + ol3-cesium + app together. Do you agree with this requirement as well? I think this requirement is compatible with yours. I'd just find it regrettable that we wouldn't be able to use non-exportable ol3 symbols/properties in the ol3-cesium code. For a close integration having that capacity would be useful in my opinion.
from ol-cesium.
Let's avoid using non-exportable ol3 symbols in ol3-cesium. If we find that something we need for ol3-cesium is not exported in ol3, I'm sure we'll be able to improve the ol3 API to make it work with ol3-cesium. I think this is an approach we had agreed on already.
Other than that, there are of course no objections to compile ol3 + ol3-cesium + app together.
from ol-cesium.
Let's avoid using non-exportable ol3 symbols in ol3-cesium. If we find that something we need for ol3-cesium is not exported in ol3, I'm sure we'll be able to improve the ol3 API to make it work with ol3-cesium.
I think this adds friction to the development, that is why I would suggest to do differently. And I do not see any problem with providing a standalone ol3-cesium that includes ol3 (as people using ol3-cesium would need a full ol3 build anyway).
When updating ol3-cesium with a new version/tree of ol3 the compiler would catch it if ol3-cesium references symbols/properties that do no longer exist in ol3.
I think this is an approach we had agreed on already.
In the context of the ol3-cesium development? I must have missed that discussion.
Other than that, there are of course no objections to compile ol3 + ol3-cesium + app together.
Ok cool. So we'll need to make sure that it works.
from ol-cesium.
Related Issues (20)
- Help loader problem HOT 3
- ImageStatic projection with EPSG:3857 show black screen HOT 3
- Use ol-cesium in an angular library HOT 1
- Container is not hidden initially
- Vector tile layers not visible on the Cesium map
- readyPromise deprecated in Cesium. It will be removed in 1.107. HOT 1
- Add minimumLevel option for WMS layers HOT 3
- 3DTiles not displayed HOT 1
- Is there support for multiple coordinate systems other than EPSG:4326 and EPSG:4327 HOT 2
- Rework OLCesium class to use the Cesium engine widget
- Npm version 2.16.1 HOT 3
- Adding support for MVT source using WMS protocols HOT 2
- `SynchronizedOverlay#handlePositionChanged` is called after overlay is destroyed HOT 2
- build-library is missing in 2.18 HOT 1
- `this.parent_` is undefined in `SynchronizedOverlay#handlePositionChanged`
- altitudeMode: "clampToGround" HOT 3
- olcs.FeatureConverter is not a constructor HOT 5
- OLCesium destroy function doesn't remove all listeners HOT 1
- how to use this plugin HOT 3
- Resolving 'Cesium is not Defined' Error in OL 6 with OLCS Using TypeScript HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ol-cesium.