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
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to