AnalyticalGraphicsInc/cesium — pull request #505 by chris-cooper (2013-02-06 05:38:42+00:00)
Title: initial draw poly example

As per this thread...
https://groups.google.com/forum/#!topic/cesium-dev/WqTPARFnAwU/discussion

This code mostly works, but there is a mouse interaction issue. I think SelectPoly.prototype.enableInput() is insufficient as it doesn't cancel inertia etc. It would be great to see disableInput() and enableInput() centralized in Cesium (they also appear in Camera.html example). Might even be worth considering incorporating selection helpers such as SelectPoly into Cesium?

I'm happy for this code to be cannibalised as required. For our own use, it would be helpful to know how to fix the interaction issue.