Hi, I have a new temporary layer I want to add, but I can't name it
dynamically.  For example:

$layerName = "DQN20042";
$tempID = "Session:" . $mgSessionId . '//' . $layerName .
".LayerDefinition";
$tempLayerResId = new MgResourceIdentifier($tempID);

does not work, but...

$tempID = "Session:" . $mgSessionId . "//test.LayerDefinition";
$tempLayerResId = new MgResourceIdentifier($tempID);

Does work.

Any ideas?  
gordon

-- 
View this message in context: 
http://n2.nabble.com/Syntax-of-MgResourceIdentifier-tp4588434p4588434.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to