How to add custom shape onto DroneDeploy map

I want to build my own app which allows users to drag and drop different shapes(polygons) onto DD map and position them freely. Users can also rotate the shapes on the map. It works similar to However, I’ve done many research online and read documentation for DD javascript api but still no luck. The only api provided that is relevant to my case is “Map.addPolygon()”. However, it only adds a static polygon boundary on the map and therefore not useful.

I just want to know if it is possible for me to build this app using DD api. If yes, any suggestions/help would be greatly appreciated! Thanks!