[mapguide-commits] r7029 - trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Thematics

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Sep 18 06:13:12 PDT 2012


Author: jng
Date: 2012-09-18 06:13:12 -0700 (Tue, 18 Sep 2012)
New Revision: 7029

Modified:
   trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Thematics/ThemeCreator.cs
Log:
#2126: Use layer filter (if specified) when generating theme rules.

Modified: trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Thematics/ThemeCreator.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Thematics/ThemeCreator.cs	2012-09-18 12:58:42 UTC (rev 7028)
+++ trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Thematics/ThemeCreator.cs	2012-09-18 13:13:12 UTC (rev 7029)
@@ -228,6 +228,8 @@
                     try
                     {
                         IVectorLayerDefinition vl = (IVectorLayerDefinition)m_layer.SubLayer;
+                        if (!string.IsNullOrEmpty(vl.Filter))
+                            filter = vl.Filter;
                         try
                         {
                             //Either UNIQUE() is an undocumented FDO expression function (!!!)



More information about the mapguide-commits mailing list