[mapguide-commits] r4421 - trunk/Tools/Maestro/Maestro/ResourceEditors

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sat Dec 12 05:16:06 EST 2009


Author: ksgeograf
Date: 2009-12-12 05:16:06 -0500 (Sat, 12 Dec 2009)
New Revision: 4421

Modified:
   trunk/Tools/Maestro/Maestro/ResourceEditors/MapEditor.cs
Log:
Maestro:
Fixed issue #1155.

Modified: trunk/Tools/Maestro/Maestro/ResourceEditors/MapEditor.cs
===================================================================
--- trunk/Tools/Maestro/Maestro/ResourceEditors/MapEditor.cs	2009-12-12 09:54:00 UTC (rev 4420)
+++ trunk/Tools/Maestro/Maestro/ResourceEditors/MapEditor.cs	2009-12-12 10:16:06 UTC (rev 4421)
@@ -1406,7 +1406,7 @@
 
                     OSGeo.MapGuide.MaestroAPI.MapLayerType maplayer = new OSGeo.MapGuide.MaestroAPI.MapLayerType();
                     maplayer.ResourceId = layerid;
-                    maplayer.Name = new MaestroAPI.ResourceIdentifier(layerid).Name;
+                    maplayer.Name = maplayer.LegendLabel = new MaestroAPI.ResourceIdentifier(layerid).Name;
                     maplayer.Visible = true;
                     maplayer.ShowInLegend = true;
                     maplayer.ExpandInLegend = true;



More information about the mapguide-commits mailing list