From
http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/classes/layerobj
layerObj ms_newLayerObj(MapObj map [, layerObj layer])
A second optional argument can be given to ms_newLayerObj() to create
the new layer as a copy of an existing layer. If a layer is given as
argument then all members of a this layer will be copied in the new
layer created.
This will create a clone layer that you can tweek to you're hearts content.
Mark
krishna S wrote:
Can we clone the layer and then use it for further modifications, i am
trying to find the syntax but couldnt get it ....
Thanks for your time ...