[fusion-users] Show Layer added in MapScript

Tom van der Putte tom at vdputte.nl
Thu Mar 11 10:18:28 EST 2010


Hi
Paul,
 I was doing 3), but  that's about it. Could you give me some
pointers on how to do do 1) and 2)?
 Cheers,
 Tom
 On Thu 11/03/10 16:09 , Paul Spencer pspencer at dmsolutions.ca sent:
 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
 > 
 > http://lists.osgeo.org/mailman/listinfo/fusion-users
 __________________________________________
    Paul Spencer
    Chief Technology Officer
    DM Solutions Group Inc
    http://research.dmsolutions.ca/
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20100311/288264d9/attachment.html


More information about the fusion-users mailing list