-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ol.proj.getTransform sourceprojection = null issue #338
Comments
OL3-Cesium used to be compiled separately from OL3. |
I was. But a few hours last night I came to the same conclussion as you just mentioned and after figuring out how to change all module loading my problems vent away. Can you share what stategy for keeping it updated with ol3 you are using? is it always a month behind, by using the latest release from ol3 or is it a commit from master in between released depending on when its done? I ask because I am almost sure that I am using a feature from ol3 that was added later than 3.14, which could be explained by the later example. For others, my setup in requirejs looks like this:
which means I can lazy require cesium later, but it means that I am dependent on the ol3-cesium library. Is it requied toinclude ol3 source code or would it work with ol3 sideloaded if we created a separate build/distribution file. |
The principle is to compile against the latest stable releases of OL3 and Cesium at the time of the OL3-Cesium release. However, it may not always be possible (unfixed regression, no release...). Last month there was no OL3 release, so OL3-Cesium March release is compiled against an OL3 version from February. Separate build had a lot of issues, see #289 and is no more supported. A cool alternative would be to compile OL3 and OL3-Cesium as closure compiler modules, see --module. The compiler would create several compiled files (ol3.js and ol3cesium.js) and you would be able to load ol3cesium.js later in your application. |
Thanks for the update. For now I will stick with the resolution i found with loading ol3-cesium instead of ol.js and using the dummy require define calls |
I am figthing a null error and using the -debug build I could inspect the issue in dev tools, but I got abit confused. Is ol3cesium independent of ol3? Should we not include both ol3 and ol3 and ol3cesium files ? (could this be my issue that the view is constructed from ol.js and then ol.proj.transform do not work because of this?
The text was updated successfully, but these errors were encountered: