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

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Sun Jul 3 03:33:25 EDT 2011


Author: ahocevar
Date: 2011-07-03 00:33:24 -0700 (Sun, 03 Jul 2011)
New Revision: 12147

Modified:
   trunk/openlayers/lib/OpenLayers/Layer/MapGuide.js
   trunk/openlayers/lib/OpenLayers/Layer/MapServer.js
   trunk/openlayers/lib/OpenLayers/Layer/WMS.js
Log:
fixing error in comments. Non-functional change (closes #3387)


Modified: trunk/openlayers/lib/OpenLayers/Layer/MapGuide.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/MapGuide.js	2011-06-30 15:15:28 UTC (rev 12146)
+++ trunk/openlayers/lib/OpenLayers/Layer/MapGuide.js	2011-07-03 07:33:24 UTC (rev 12147)
@@ -168,7 +168,7 @@
      *       groups to hide eg: 'cvc-xcv34,453-345-345sdf'
      *   - selectionXml - {String} A selection xml string Some server plumbing
      *       is required to read such a value.
-     * options - {Ojbect} Hashtable of extra options to tag onto the layer; 
+     * options - {Object} Hashtable of extra options to tag onto the layer; 
      *          will vary depending if tiled or untiled maps are being requested
      */
     initialize: function(name, url, params, options) {

Modified: trunk/openlayers/lib/OpenLayers/Layer/MapServer.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/MapServer.js	2011-06-30 15:15:28 UTC (rev 12146)
+++ trunk/openlayers/lib/OpenLayers/Layer/MapServer.js	2011-07-03 07:33:24 UTC (rev 12147)
@@ -36,7 +36,7 @@
      *       (e.g. http://www2.dmsolutions.ca/cgi-bin/mapserv)
      * params - {Object} An object with key/value pairs representing the
      *          GetMap query string parameters and parameter values.
-     * options - {Ojbect} Hashtable of extra options to tag onto the layer
+     * options - {Object} Hashtable of extra options to tag onto the layer
      */
     initialize: function(name, url, params, options) {
         var newArguments = [];

Modified: trunk/openlayers/lib/OpenLayers/Layer/WMS.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/WMS.js	2011-06-30 15:15:28 UTC (rev 12146)
+++ trunk/openlayers/lib/OpenLayers/Layer/WMS.js	2011-07-03 07:33:24 UTC (rev 12147)
@@ -36,7 +36,7 @@
      * *Deprecated*. See http://trac.openlayers.org/wiki/SphericalMercator
      * for information on the replacement for this functionality. 
      * {Boolean} Try to reproject this layer if its coordinate reference system
-     *           is different than that of the base layer.  Default is true.  
+     *           is different than that of the base layer.  Default is false.  
      *           Set this in the layer options.  Should be set to false in 
      *           most cases.
      */
@@ -114,7 +114,7 @@
      *                (e.g. http://wms.jpl.nasa.gov/wms.cgi)
      * params - {Object} An object with key/value pairs representing the
      *                   GetMap query string parameters and parameter values.
-     * options - {Ojbect} Hashtable of extra options to tag onto the layer.
+     * options - {Object} Hashtable of extra options to tag onto the layer.
      *     These options include all properties listed above, plus the ones
      *     inherited from superclasses.
      */
@@ -143,7 +143,7 @@
             } 
             
             // jpegs can never be transparent, so intelligently switch the 
-            //  format, depending on teh browser's capabilities
+            //  format, depending on the browser's capabilities
             if (this.params.FORMAT == "image/jpeg") {
                 this.params.FORMAT = OpenLayers.Util.alphaHack() ? "image/gif"
                                                                  : "image/png";



More information about the Commits mailing list