[mapguide-commits] r9529 - in trunk/MgDev: Common/MapGuideCommon/Resources Server/src/Services/Tile
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sat Jun 1 09:33:16 PDT 2019
Author: jng
Date: 2019-06-01 09:33:16 -0700 (Sat, 01 Jun 2019)
New Revision: 9529
Modified:
trunk/MgDev/Common/MapGuideCommon/Resources/mapguide_en.res
trunk/MgDev/Server/src/Services/Tile/ServerTileService.cpp
Log:
Add missing meta-tiling parameters
Fixes #2798
Modified: trunk/MgDev/Common/MapGuideCommon/Resources/mapguide_en.res
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/Resources/mapguide_en.res 2019-05-31 14:39:36 UTC (rev 9528)
+++ trunk/MgDev/Common/MapGuideCommon/Resources/mapguide_en.res 2019-06-01 16:33:16 UTC (rev 9529)
@@ -449,7 +449,11 @@
MgTileProvider_Common_Property_RenderOnly_LocalizedName = Render Tiles Only (do not cache)
MgTileProvider_Common_Property_CoordinateSystem_LocalizedName = Coordinate System
MgTileProvider_Common_Property_FiniteScaleList_LocalizedName = Finite Display Scale List
+MgTileProvider_Common_Property_TileExtentOffset_LocalizedName = Tile Extent Offset
+MgTileProvider_Common_Property_MetaTileFactor_LocalizedName = Meta-tiling factor
+MgTileProvider_Common_Property_MetaTileLockMethod_LocalizedName = Meta-tiling lock method
+
# *****************************************************************************
# S T Y L I Z A T I O N
# *****************************************************************************
Modified: trunk/MgDev/Server/src/Services/Tile/ServerTileService.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Tile/ServerTileService.cpp 2019-05-31 14:39:36 UTC (rev 9528)
+++ trunk/MgDev/Server/src/Services/Tile/ServerTileService.cpp 2019-06-01 16:33:16 UTC (rev 9529)
@@ -333,6 +333,38 @@
xml.append("<DefaultValue></DefaultValue>\n");
xml.append("</ConnectionProperty>\n");
+ //Property: MetaTileFactor
+ xml.append("<ConnectionProperty Enumerable=\"false\" Protected=\"false\" Required=\"true\">\n");
+ xml.append("<Name>");
+ std::string mbMetaTileFactor;
+ MgUtil::WideCharToMultiByte(MG_TILE_PROVIDER_COMMON_PARAM_METATILEFACTOR, mbMetaTileFactor);
+ xml.append(mbMetaTileFactor);
+ xml.append("</Name>\n");
+ xml.append("<LocalizedName>");
+ std::string mbLocMetaTileFactor;
+ STRING wLocMetaTileFactor = MgUtil::GetResourceMessage(MgResources::TileService, L"MgTileProvider_Common_Property_MetaTileFactor_LocalizedName");
+ MgUtil::WideCharToMultiByte(wLocMetaTileFactor, mbLocMetaTileFactor);
+ xml.append(mbLocMetaTileFactor);
+ xml.append("</LocalizedName>\n");
+ xml.append("<DefaultValue></DefaultValue>\n");
+ xml.append("</ConnectionProperty>\n");
+
+ //Property: MetaTileLockMethod
+ xml.append("<ConnectionProperty Enumerable=\"false\" Protected=\"false\" Required=\"true\">\n");
+ xml.append("<Name>");
+ std::string mbMetaTileLockMethod;
+ MgUtil::WideCharToMultiByte(MG_TILE_PROVIDER_COMMON_PARAM_METATILELOCKMETHOD, mbMetaTileLockMethod);
+ xml.append(mbMetaTileLockMethod);
+ xml.append("</Name>\n");
+ xml.append("<LocalizedName>");
+ std::string mbLocMetaTileLockMethod;
+ STRING wLocMetaTileLockMethod = MgUtil::GetResourceMessage(MgResources::TileService, L"MgTileProvider_Common_Property_MetaTileLockMethod_LocalizedName");
+ MgUtil::WideCharToMultiByte(wLocMetaTileLockMethod, mbLocMetaTileLockMethod);
+ xml.append(mbLocMetaTileLockMethod);
+ xml.append("</LocalizedName>\n");
+ xml.append("<DefaultValue></DefaultValue>\n");
+ xml.append("</ConnectionProperty>\n");
+
xml.append("</ConnectionProperties>\n");
xml.append("</TileProvider>\n");
}
@@ -433,7 +465,39 @@
xml.append("<DefaultValue></DefaultValue>\n");
xml.append("</ConnectionProperty>\n");
+ //Property: MetaTileFactor
+ xml.append("<ConnectionProperty Enumerable=\"false\" Protected=\"false\" Required=\"true\">\n");
+ xml.append("<Name>");
+ std::string mbMetaTileFactor;
+ MgUtil::WideCharToMultiByte(MG_TILE_PROVIDER_COMMON_PARAM_METATILEFACTOR, mbMetaTileFactor);
+ xml.append(mbMetaTileFactor);
+ xml.append("</Name>\n");
+ xml.append("<LocalizedName>");
+ std::string mbLocMetaTileFactor;
+ STRING wLocMetaTileFactor = MgUtil::GetResourceMessage(MgResources::TileService, L"MgTileProvider_Common_Property_MetaTileFactor_LocalizedName");
+ MgUtil::WideCharToMultiByte(wLocMetaTileFactor, mbLocMetaTileFactor);
+ xml.append(mbLocMetaTileFactor);
+ xml.append("</LocalizedName>\n");
+ xml.append("<DefaultValue></DefaultValue>\n");
+ xml.append("</ConnectionProperty>\n");
+ //Property: MetaTileLockMethod
+ xml.append("<ConnectionProperty Enumerable=\"false\" Protected=\"false\" Required=\"true\">\n");
+ xml.append("<Name>");
+ std::string mbMetaTileLockMethod;
+ MgUtil::WideCharToMultiByte(MG_TILE_PROVIDER_COMMON_PARAM_METATILELOCKMETHOD, mbMetaTileLockMethod);
+ xml.append(mbMetaTileLockMethod);
+ xml.append("</Name>\n");
+ xml.append("<LocalizedName>");
+ std::string mbLocMetaTileLockMethod;
+ STRING wLocMetaTileLockMethod = MgUtil::GetResourceMessage(MgResources::TileService, L"MgTileProvider_Common_Property_MetaTileLockMethod_LocalizedName");
+ MgUtil::WideCharToMultiByte(wLocMetaTileLockMethod, mbLocMetaTileLockMethod);
+ xml.append(mbLocMetaTileLockMethod);
+ xml.append("</LocalizedName>\n");
+ xml.append("<DefaultValue></DefaultValue>\n");
+ xml.append("</ConnectionProperty>\n");
+
+
xml.append("</ConnectionProperties>\n");
xml.append("</TileProvider>\n");
}
More information about the mapguide-commits
mailing list