Hi, I’m trying to implement a Cesium feature in which will have following functionality:
- When edit/redraw of polygon is started, the polypoints, polyline & the polygon should be displayed for editing.
- On left mouse down on polypoint, polyline or polygon will enable user to drag the entity and move to new cordinates,
- After leaving mouse button, the new point position should be updated.
- If a polyline was clicked then a new point should be created and be placed on the new position.
- In caee the polygon was dragged, then whole polygon should move with mouse pointer.
Following is one of the example related to polypoint which resembles with my requirement but the feature for polyline and polygon is also important.
Sandcastle example with polypoints
I would like to ask for any such good references which could show a good implementation of the required features.