??

View on GitHub

View the modify-feature.js source to see how this is done.