From 28947e1411c8b727d332eb37c9920c8163babf3f Mon Sep 17 00:00:00 2001 From: ahocevar Date: Sun, 3 Jul 2011 07:33:24 +0000 Subject: [PATCH] fixing error in comments. Non-functional change (closes #3387) git-svn-id: http://svn.openlayers.org/trunk/openlayers@12147 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/MapGuide.js | 2 +- lib/OpenLayers/Layer/MapServer.js | 2 +- lib/OpenLayers/Layer/WMS.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/OpenLayers/Layer/MapGuide.js b/lib/OpenLayers/Layer/MapGuide.js index 7846f9534d..7b020b5849 100644 --- a/lib/OpenLayers/Layer/MapGuide.js +++ b/lib/OpenLayers/Layer/MapGuide.js @@ -168,7 +168,7 @@ OpenLayers.Layer.MapGuide = OpenLayers.Class(OpenLayers.Layer.Grid, { * 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) { diff --git a/lib/OpenLayers/Layer/MapServer.js b/lib/OpenLayers/Layer/MapServer.js index e08aa74913..e009be8b4e 100644 --- a/lib/OpenLayers/Layer/MapServer.js +++ b/lib/OpenLayers/Layer/MapServer.js @@ -36,7 +36,7 @@ OpenLayers.Layer.MapServer = OpenLayers.Class(OpenLayers.Layer.Grid, { * (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 = []; diff --git a/lib/OpenLayers/Layer/WMS.js b/lib/OpenLayers/Layer/WMS.js index 477b40dd7b..60bf8cc1c9 100644 --- a/lib/OpenLayers/Layer/WMS.js +++ b/lib/OpenLayers/Layer/WMS.js @@ -36,7 +36,7 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, { * *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 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, { * (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 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, { } // 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";