[fusion-users] Show Layer added in MapScript

Tom van der Putte tom at vdputte.nl
Thu Mar 11 09:26:37 EST 2010


Hi
All,
 I have a map with several layergroups, and want to make a copy of a
user-picked layer in a group by doing an ajax call to a PHP Mapscript.
This script executes $oMap->insertLayer($oLayer). This works perfectly
in the PHP Mapscript environment ($oMap->getAllLayerNames() shows all
layers including the copy). But when the ajax call returns, the layer
has not been added to the map. Any ideas why this is? 
 Cheers,
 Tom
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20100311/c8063a83/attachment.html


More information about the fusion-users mailing list