Tools for drawing points, polylines and polygons on Cesium.js

getAll() - get all drawn shapesgetPoints() - get all drawn pointsgetPolylines() - get all drawn polylinesgetPolygons() - get all drawn polygons
let viewer = new Cesium.Viewer('cesiumContainer', {});
let cesiumDrawingTool = new CesiumDrawingTool(
viewer, // cesium viewer object
'cesiumContainer', // viewer DOM id
'your/pin/image' // location pin image uri
);
// activate drawing tool
cesiumDrawingTool.init();