Hi,
In previous versions of PHP MapScript a new layer was defined as:
$l2 = new layerObj($oMap,$l1);
$l1 is the base layer from which $l2 is copied.
In MapScript SWIG the second parameter has disappeared. $l2 has to be
cloned from $l1, and then inserted into the map. With PHP-MapScript this
should be:
$l2 = $l1->clone();
$oMap->insertLayer($l2);
But there is no PHP-MapScript function layerObj::clone. What do I miss?
Jan
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users