Adding layers to maps permanently

newjim joleary.public at
Tue Jul 25 14:00:34 EDT 2006

I see how to permanently add a new layer (Dev Guide page 70). However, when I
try to add this layer to a map via:

$newLayer = add_layer_resource_to_map($resourceID, $resourceService,
$layerName, $layerLegendLabel, $map)

I get an XML parser error.

How do I add this new layer to the map permanently programatically, not
using Studio?

View this message in context:
Sent from the OSGeo MapGuide forum at

More information about the Mapguide-users mailing list