On 05/09/2010 09:45 AM, Maurício de Paulo wrote:
> Anyway, the template is also used for public sites in django. As far
> as I know, at the moment the only way to insert a widget for inputing
> geodata is to use the admin widget. Am I right?
> If that's the case, the only possibility is to use a admin template to
> access gmaps or don't access at all.
> Mauricio
Hi Mauricio,
I've written a portable application, "olwidget", which implements
editable openlayers maps in forms inside and outside of admin. It has
support for google, microsoft, yahoo and cloudmade base layers.
I'm particularly excited to announce the development version which also
has support for many new features, including editing or displaying
multiple named vector layers on a single map, the ability to delete as
well as modify vertices, and undo/redo support for edits. I'm
developing these new features in the branch "multi" on github:
http://github.com/yourcelf/olwidget/tree/multi
It can be cloned thusly:
git clone git://
github.com/yourcelf/olwidget.git --branch=multi
I would be very grateful for any feedback, testing and bugs.
Documentation and examples can be found here:
http://olwidget.org
Ultimately, I would like to merge this work with Django trunk, but with
all the instability of new feature development, now doesn't seem the
time. But I would welcome any suggestions on how to best go that route.
best,
Charlie