Drawing objects in Cesium app

1. A concise explanation of the problem you’re experiencing.

I aim to make an app using CesiumJs. User must be able to draw basic geometric entities like lines, boxes,cylinders,rectangles etc.Cesium tutorials show how it can be done.But coordinate values are hard coded in tutorials(lat,long). In application I plan to enable user to make entities with mouse events, like selecting two points to create a line. How can this be achieved?Does API already provide such facilities?

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.

OS:Windows 10


Hi Manesh,

Take a look at our Picking example on how to get positions from mouse input.