fixing error in comments. Non-functional change (closes #3387)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12147 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2011-07-03 07:33:24 +00:00
parent e4d5fb09f9
commit 28947e1411
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ OpenLayers.Layer.MapGuide = OpenLayers.Class(OpenLayers.Layer.Grid, {
* groups to hide eg: 'cvc-xcv34,453-345-345sdf' * groups to hide eg: 'cvc-xcv34,453-345-345sdf'
* - selectionXml - {String} A selection xml string Some server plumbing * - selectionXml - {String} A selection xml string Some server plumbing
* is required to read such a value. * 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 * will vary depending if tiled or untiled maps are being requested
*/ */
initialize: function(name, url, params, options) { initialize: function(name, url, params, options) {
+1 -1
View File
@@ -36,7 +36,7 @@ OpenLayers.Layer.MapServer = OpenLayers.Class(OpenLayers.Layer.Grid, {
* (e.g. http://www2.dmsolutions.ca/cgi-bin/mapserv) * (e.g. http://www2.dmsolutions.ca/cgi-bin/mapserv)
* params - {Object} An object with key/value pairs representing the * params - {Object} An object with key/value pairs representing the
* GetMap query string parameters and parameter values. * 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) { initialize: function(name, url, params, options) {
var newArguments = []; var newArguments = [];
+3 -3
View File
@@ -36,7 +36,7 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
* *Deprecated*. See http://trac.openlayers.org/wiki/SphericalMercator * *Deprecated*. See http://trac.openlayers.org/wiki/SphericalMercator
* for information on the replacement for this functionality. * for information on the replacement for this functionality.
* {Boolean} Try to reproject this layer if its coordinate reference system * {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 * Set this in the layer options. Should be set to false in
* most cases. * most cases.
*/ */
@@ -114,7 +114,7 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
* (e.g. http://wms.jpl.nasa.gov/wms.cgi) * (e.g. http://wms.jpl.nasa.gov/wms.cgi)
* params - {Object} An object with key/value pairs representing the * params - {Object} An object with key/value pairs representing the
* GetMap query string parameters and parameter values. * 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 * These options include all properties listed above, plus the ones
* inherited from superclasses. * inherited from superclasses.
*/ */
@@ -143,7 +143,7 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
} }
// jpegs can never be transparent, so intelligently switch the // 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") { if (this.params.FORMAT == "image/jpeg") {
this.params.FORMAT = OpenLayers.Util.alphaHack() ? "image/gif" this.params.FORMAT = OpenLayers.Util.alphaHack() ? "image/gif"
: "image/png"; : "image/png";