[Chameleon] update map after layer status MS_DELETE

Attila Berényi aberenyi at burken.hu
Wed Mar 12 09:20:12 EDT 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.maptools.org/pipermail/chameleon/attachments/20080312/c08645d6/attachment.html


More information about the Chameleon mailing list