[OpenLayers-Commits] r11686 - trunk/openlayers/lib/OpenLayers/Layer

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Mar 9 12:05:54 EST 2011


Author: bartvde
Date: 2011-03-09 09:05:49 -0800 (Wed, 09 Mar 2011)
New Revision: 11686

Modified:
   trunk/openlayers/lib/OpenLayers/Layer/MapGuide.js
   trunk/openlayers/lib/OpenLayers/Layer/Zoomify.js
Log:
MapGuide and Zoomify layers use top-left as the tile origin, p=madair, r=me (closes #3160)

Modified: trunk/openlayers/lib/OpenLayers/Layer/MapGuide.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/MapGuide.js	2011-03-09 13:28:10 UTC (rev 11685)
+++ trunk/openlayers/lib/OpenLayers/Layer/MapGuide.js	2011-03-09 17:05:49 UTC (rev 11686)
@@ -116,6 +116,12 @@
      **/
     defaultSize: new OpenLayers.Size(300,300),
 
+    /** 
+     * Property: tileOriginCorner
+     * {String} MapGuide tile server uses top-left as tile origin
+     **/
+    tileOriginCorner: "tl",
+
     /**
      * Constructor: OpenLayers.Layer.MapGuide
      * Create a new Mapguide layer, either tiled or untiled.  

Modified: trunk/openlayers/lib/OpenLayers/Layer/Zoomify.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/Zoomify.js	2011-03-09 13:28:10 UTC (rev 11685)
+++ trunk/openlayers/lib/OpenLayers/Layer/Zoomify.js	2011-03-09 17:05:49 UTC (rev 11686)
@@ -45,6 +45,12 @@
      */
     standardTileSize: 256,
 
+    /** 
+     * Property: tileOriginCorner
+     * {String} This layer uses top-left as tile origin
+     **/
+    tileOriginCorner: "tl",
+
     /**
      * Property: numberOfTiers
      * {Integer} Depth of the Zoomify pyramid, number of tiers (zoom levels)



More information about the Commits mailing list