I would like to develop a simple mapping application. One where users can digitize lines, polygons and points and attribute the features. The attributes will then be stored in a database for later assessment.

Has anyone seen such an app using the leaflet library?

  • +1. Would also love to learn leaflet without having to go the OpenLayers route first.
    – Erick
    Aug 2, 2012 at 7:38

2 Answers 2


Leaflet.draw is a plugin which adds the ability to draw in Leaflet. https://github.com/Leaflet/Leaflet.draw

Check out the demo to see how to implement it.


I made an example using CouchDB as the back end. Won't easily transfer to another DB though. http://calvin.iriscouch.com/leafletcouch/_design/leaflet/index.html

Not the answer you're looking for? Browse other questions tagged or ask your own question.