On Jun 24, 2010, at 21:56 , David Winslow wrote: > 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?
This would definitely be a win. Not a big performance gain, but simpler code. -Andreas.
