Fork me on GitHub

olwidget is a javascript library that makes it easy to add editable maps to forms. It operates by replacing a textarea with an editable map, and writes WKT data back to the textarea for processing.

olwidget.js functions as a standalone javascript library, usable in any context where you need editable maps. django-olwidget is an included Django application that uses olwidget.js to smoothly integrate editable maps into Django forms and to improve the functionality of forms in admin.

show textareas

(Note that this example uses the development version of olwidget, not the stable version)

Features

Several examples of fun maps.

Download

Code can be downloaded from github. To get olwidget, clone the git repository. To get the stable version (recommended for production use):

git clone git://github.com/yourcelf/olwidget.git

The development version (recommended for testing and development only) can be obtained thusly:

git clone git://github.com/yourcelf/olwidget.git --branch multi

Found a bug? Please file an issue on github. For help, new feature ideas, and development please write to the mailing list.