Does this suffice adding of a new layer?? adding a point to existing layer is trivial but adding a new layer itself need to put its specific code in JS.
Let me explain with an example, suppose my map already has 3 layers. Now if the user wants to add 4th layer then I can provide him a form to fill the data and store these 4th layers details/data in a text file/db through a php script. Up to here everything is fine, but now someone has to add this layer to JS so that the user can see it as soon as he reload the page. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Automatic-updation-of-OpenLayers-code-tp6452157p6452308.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
