On Wed, Sep 29, 2010 at 9:47 PM, Stephen Woodbridge <[email protected]> wrote: > Since each OpenLayers application will need some basic information about the > layers that it is using. You might consider creating an XML document on the > server the represents the OL application. Then you could pass the state > information and the path to the XML document and that might be all you need. > The pain of this approach is that if you change your OL application you need > to update the XML doc, but "most" applications once they are deployed are > relatively static. How you approach this might have more to do with whether > you are interested in creating a generic application for any arbitrary OL > applications or just solving your particular class of problems. >
Before you create a new XML format you might want to consider the Web Map Context document. http://dev.openlayers.org/sandbox/context/examples/context-wmc.html shows an example with OpenLayers. Ian -- Ian Turton _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
