-
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
Cant draw at lower zoom levels #13
Comments
Soimthe1, I recently ran across this project and I see this issue as well! Looking at the code I've found that in the startDrawingPolyshape() function it will remove any position points that are closer than the hard coded epsilon value. There is the comment ' // TODO - calculate some epsilon based on the zoom level' but I'm not sure this makes much sense because each point can be placed with a different zoom level (camera altitude). The camera position when each point is drawn inherently sets a minimum distance between two points. If you remove lines 939 & 940 in DrawHelper.js it should fix this issue. |
Thanks brother for the help, will do what you suggested. |
Can this be closed based on 2f10c4e ? |
- See leforthomas/cesium-drawhelper#13 for details. - At lower zooms, points were being erroneously removed from drawings.
- See leforthomas/cesium-drawhelper#13 for details. - At lower zooms, points were being erroneously removed from drawings.
…1534) - See leforthomas/cesium-drawhelper#13 for details. - At lower zooms, points were being erroneously removed from drawings.
…(#1534) - See leforthomas/cesium-drawhelper#13 for details. - At lower zooms, points were being erroneously removed from drawings.
When i try to draw something at high zoom levels, the drawing disappears after double click.
Please help.
The text was updated successfully, but these errors were encountered: