You are viewing an older version of MapQuest.js. Check out the latest version.
Using the Leaflet Draw plugin. Documentation can be found here.
Try It Now