[mapguide-commits] r8610 - in sandbox/adsk/3.0m/Common/MapGuideCommon: MapLayer Resources

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Mar 31 19:17:28 PDT 2015


Author: hubu
Date: 2015-03-31 19:17:28 -0700 (Tue, 31 Mar 2015)
New Revision: 8610

Modified:
   sandbox/adsk/3.0m/Common/MapGuideCommon/MapLayer/Map.cpp
   sandbox/adsk/3.0m/Common/MapGuideCommon/Resources/mapguide_en.res
Log:
Merge #2550 to sandbox/adsk/3.0m branch.

Modified: sandbox/adsk/3.0m/Common/MapGuideCommon/MapLayer/Map.cpp
===================================================================
--- sandbox/adsk/3.0m/Common/MapGuideCommon/MapLayer/Map.cpp	2015-04-01 02:12:28 UTC (rev 8609)
+++ sandbox/adsk/3.0m/Common/MapGuideCommon/MapLayer/Map.cpp	2015-04-01 02:17:28 UTC (rev 8610)
@@ -794,9 +794,9 @@
     }
     else if (storeParams->GetTileProvider() == MG_TILE_PROVIDER_XYZ)
     {
-        //XYZ is always LL84
+        //XYZ is always WGS84.PseudoMercator
         Ptr<MgCoordinateSystemFactory> csFactory = new MgCoordinateSystemFactory();
-        return csFactory->ConvertCoordinateSystemCodeToWkt(L"LL84"); //NOXLATE
+        return csFactory->ConvertCoordinateSystemCodeToWkt(L"WGS84.PseudoMercator"); //NOXLATE
     }
     if (strict)
     {

Modified: sandbox/adsk/3.0m/Common/MapGuideCommon/Resources/mapguide_en.res
===================================================================
--- sandbox/adsk/3.0m/Common/MapGuideCommon/Resources/mapguide_en.res	2015-04-01 02:12:28 UTC (rev 8609)
+++ sandbox/adsk/3.0m/Common/MapGuideCommon/Resources/mapguide_en.res	2015-04-01 02:17:28 UTC (rev 8610)
@@ -433,7 +433,7 @@
 MgTileProvider_Default_DisplayName                     = Default Tile Provider
 MgTileProvider_Default_Description                     = Default tile access provided by MapGuide. Supports MapGuide-managed tile path or user-defined path
 MgTileProvider_XYZ_DisplayName                         = XYZ Tile Provider
-MgTileProvider_XYZ_Description                         = XYZ tile access provided by MapGuide. Grid scheme is compatible with Google Maps and Open Street Map. Rendered tiles are 256x256. Layers must be convertible from lat/lon coordinates. Under this scheme, Row = X, Column = Y, Scale = Z for accessing tiles. Supports MapGuide-managed tile path or user-defined path
+MgTileProvider_XYZ_Description                         = XYZ tile access provided by MapGuide. Grid scheme is compatible with Google Maps and Open Street Map. Rendered tiles are 256x256. Layers must be transformable to WGS84.PseudoMercator coordinates. Under this scheme, Row = X, Column = Y, Scale = Z for accessing tiles. Supports MapGuide-managed tile path or user-defined path
 MgTileProvider_Common_Property_TilePath_LocalizedName  = Tile Path
 MgTileProvider_Common_Property_TileWidth_LocalizedName = Tile Width
 MgTileProvider_Common_Property_TileHeight_LocalizedName = Tile Height



More information about the mapguide-commits mailing list