[fusion-users] Show Layer added in MapScript

Paul Spencer pspencer at dmsolutions.ca
Thu Mar 11 10:09:09 EST 2010


are you:

1) modifying the session copy of the map file
2) saving the session copy of the map file after modification
3) reloading the map on the client side

Cheers

Paul

On 2010-03-11, at 9:26 AM, Tom van der Putte wrote:

> 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
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users


__________________________________________

   Paul Spencer
   Chief Technology Officer
   DM Solutions Group Inc
   http://research.dmsolutions.ca/



More information about the fusion-users mailing list