#5472: Add OpenLayers support to django.contrib.gis
-------------------------------------------------------------------+--------
Reporter: p |
Owner: p
Status: assigned |
Component: GIS
Version: gis |
Resolution:
Keywords: sprintsept14 openlayers javascript map maps mapping |
Stage: Design decision needed
Has_patch: 0 |
Needs_docs: 0
Needs_tests: 0 |
Needs_better_patch: 0
-------------------------------------------------------------------+--------
Comment (by jbronn):
Replying to [comment:3 p]:
> It seems like these libraries should be treated the same way as Ajax
support has been for Django, that is, out-of-band of the framework. It's
arguable that for mapping application, a special case could be made in
order to get a simple map up quickly with the KML from the models, which
both !GMaps and !OpenLayers support.
But we want widgets for the admin and databrowse -- how can these be
supported without support for ''any'' mapping framework built-in? I agree
the feature-set should be minimal but still should be present -- users may
then customize and/or extend the !JavaScript templates at their
discretion, and widgets may be created in the admin and databrowse.
We would not be playing to Django's strength's by excluding any sort of
mapping framework.
> In that case, it seems a template tag may be more appropriate.
I think it will be very difficult to shoehorn all map creation options
into a template tag -- it seems more appropriate to have an object with
that type of detail instantiated in the views, and passed into the
template.
--
Ticket URL: <http://code.djangoproject.com/ticket/5472#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---