On 06/24/2010 03:48 PM, Andreas Hocevar wrote: > ConfigManager [6] > ================= > > Replaces the BackgroundLayerManager [7]. It requires about 70 more lines of > code, and its purpose is to convert between the configuration objects that > come from Django in GeoNode and the configuration objects that gxp.Viewer > requires. The BackgroundLayerManager is still used by the MyHazard viewer, > and was moved to the MyHazard namespace. >
We are doing a bit of juggling on the Django side (http://github.com/GeoNode/geonode/blob/master/src/GeoNodePy/geonode/maps/views.py#L422) to produce that JSON. Do you think there would be a win (in terms of performance, simpler code, whatever) if we changed the format that Django is producing to better mesh with gxp.Viewer? -- David Winslow OpenGeo - http://opengeo.org/
