[Users] storing extra properties on layers

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Tue Feb 17 18:53:42 CET 2009


Hi list,

I had a discussion with Patrick Valsecchi on the MapFish list a while 
back about storing extra properties on an OpenLayers.Layer object (in my 
case OpenLayers.Layer.WMS). I currently do this a lot, like metadataURL, 
legendURL, the result of a WMS DescribeLayer request, or the result of a 
WFS DescribeFeatureType request (i.e. the structure returned by the parser).

He says it's not done to store extra properties on an object from a 
different library, and I can see his point.

How do we plan to handle this in GeoExt? Do we create a Layers widget 
which will hold this extra info and keep it up to synch?

I'd love to hear some opinions on this. TIA.

Best regards,
Bart

-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl



More information about the Users mailing list