Git Product home page Git Product logo

Comments (11)

ahocevar avatar ahocevar commented on May 15, 2024

I'm on it. Should be done by the end of the week.

from ol-cesium.

klokan avatar klokan commented on May 15, 2024

Great. Thank you!

from ol-cesium.

ahocevar avatar ahocevar commented on May 15, 2024

See openlayers/openlayers#2479.

from ol-cesium.

klokan avatar klokan commented on May 15, 2024

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.

elemoine avatar elemoine commented on May 15, 2024

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.

ahocevar avatar ahocevar commented on May 15, 2024

@elemoine FYI, it is one of our requirements to have a stand-alone build of ol3-cesium.

from ol-cesium.

elemoine avatar elemoine commented on May 15, 2024

@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.

ahocevar avatar ahocevar commented on May 15, 2024

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.

elemoine avatar elemoine commented on May 15, 2024

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.

ahocevar avatar ahocevar commented on May 15, 2024

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.

elemoine avatar elemoine commented on May 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.