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

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Fri Jun 3 17:46:45 EDT 2011


Author: tschaub
Date: 2011-06-03 14:46:44 -0700 (Fri, 03 Jun 2011)
New Revision: 12039

Modified:
   trunk/openlayers/lib/OpenLayers/Layer/TMS.js
Log:
Correcting docs for TMS tileOrigin.

Modified: trunk/openlayers/lib/OpenLayers/Layer/TMS.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/TMS.js	2011-06-03 15:10:18 UTC (rev 12038)
+++ trunk/openlayers/lib/OpenLayers/Layer/TMS.js	2011-06-03 21:46:44 UTC (rev 12039)
@@ -31,7 +31,11 @@
 
     /**
      * APIProperty: tileOrigin
-     * {<OpenLayers.Pixel>}
+     * {<OpenLayers.LonLat>} Optional origin for aligning the grid of tiles.
+     *     If provided, requests for tiles at all resolutions will be aligned
+     *     with this location (no tiles shall overlap this location).  If
+     *     not provided, the grid of tiles will be aligned with the map's
+     *     <maxExtent>.  Default is ``null``.
      */
     tileOrigin: null,
 



More information about the Commits mailing list