[mapserver-users] update map after layer status MS_DELETE
Attila Berényi
aberenyi at burken.hu
Wed Mar 12 04:46:07 PDT 2008
Dear List,
I try to delete a layer from the current map set with these commands
(executed in a popup window):
$oLayer = $oMapSession->oMap->getLayerByName("teszt");
$oLayer->set('status', MS_DELETE);
If I query the layer's properties after those, it says it's status is 4,
which seems to be ok.
But how can I update the current map set (in the parent window)?
Any help would be very much appreciated! :)
Thanks in advance,
Attila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080312/850b9ac2/attachment.htm>
More information about the MapServer-users
mailing list