Thanks for the answer. I am unable to get that to work. I have done the following and the shape's drag handles are still not showing up.
var dataSource = drawingManager.getSource()
var shape = new atlas.data.Feature(
new atlas.data.Polygon([[
[-73.98235, 40.76799],
[-73.95785, 40.80044],
[-73.94928, 40.7968],
[-73.97317, 40.76437],
[-73.98235, 40.76799]
]])
)
dataSource.add(shape);
drawingManager.editHelper.edit(shape)
Also, wasn't sure If I should ask in a separate question, I noticed none of the drawing tool events subscribe to a shape being modified. Is there any async way to detect when a shape has been edited. The only way I can think of to overcome this is add manual mouse events and extract shape data from the dataSource.