-
Notifications
You must be signed in to change notification settings - Fork 113
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
scene.camera.pickEllipsoid is not a function #10
Comments
Hi, which version of Cesium do you use? I haven't updated the DrawHelper since 1.0, so it's possible there has been some API changes since then. |
I'm using the Cesium js file provided in the downloadable zip for this project. I've tried adding different versions but I still get the same error. I have my project hosted publically: http://bit.ly/1bwo5bx if that helps you at all. I REALLY appreciate any help. |
Can you compare with the online demo version http://pad.geocento.com/DrawHelper/? At first sight, it looks like you are using an older Cesium for your application. |
It is not a different version. I'm using the Cesium.js provided in the downloadable zip on this github. Just to make sure I just went into the resources for the page: http://pad.geocento.com/DrawHelper/? and took the cesium.js file it was using and it still is doing the same thing. That website I gave you is just the unchanged directory the zip created when it was unpacked |
I'm using the drawHelper in Cesium 1.8. I made some minor corrections to make it to work. The issue I was having was unhandlled undefined markers and mouseHandlers. The fixes are below: In the startDrawingMarker's startDrawing function: _.prototype.startDrawingMarker = function(options) {
In the startDrawingPolyshape's startDrawing function: _.prototype.startDrawingPolyshape = function(isPolygon, options) {
Alberto |
…eate-mode Add startDrawingEllipse functionality
Hi, |
Same here for me too. I think the version difference is creating issue. |
When I try to host the cesium-drawhelper-master directory in IIS I can load the page fine but when I click on any off the tool icon it says: scene.camera.pickEllipsoid is not a function
The text was updated successfully, but these errors were encountered: