diff --git a/lib/OpenLayers/Format/WMC/v1.js b/lib/OpenLayers/Format/WMC/v1.js index d01ef6a387..edb346f88b 100644 --- a/lib/OpenLayers/Format/WMC/v1.js +++ b/lib/OpenLayers/Format/WMC/v1.js @@ -365,19 +365,6 @@ OpenLayers.Format.WMC.v1 = OpenLayers.Class(OpenLayers.Format.XML, { } }, - //FIXME: LatLonBoundingBox is not in spec - /** - * Method: read_wmc_LatLonBoundingBox - */ - //read_wmc_LatLonBoundingBox: function(layer, node) { - //layer.llbbox = [ - //parseFloat(node.getAttribute("minx")), - //parseFloat(node.getAttribute("miny")), - //parseFloat(node.getAttribute("maxx")), - //parseFloat(node.getAttribute("maxy")) - //]; - //}, - /** * Method: read_wmc_LegendURL */ @@ -769,7 +756,7 @@ OpenLayers.Format.WMC.v1 = OpenLayers.Class(OpenLayers.Format.XML, { sld.appendChild(link); // Name is required. sld.appendChild(this.createElementDefaultNS("Name", s.name)); - // Title is optionnal. + // Title is optional. if (s.title) { sld.appendChild(this.createElementDefaultNS("Title", s.title)); } @@ -786,7 +773,7 @@ OpenLayers.Format.WMC.v1 = OpenLayers.Class(OpenLayers.Format.XML, { sld.appendChild(imported); // Name is required. sld.appendChild(this.createElementDefaultNS("Name", s.name)); - // Title is optionnal. + // Title is optional. if (s.title) { sld.appendChild(this.createElementDefaultNS("Title", s.title)); } @@ -795,7 +782,7 @@ OpenLayers.Format.WMC.v1 = OpenLayers.Class(OpenLayers.Format.XML, { // both Name and Title are required. style.appendChild(this.createElementDefaultNS("Name", s.name)); style.appendChild(this.createElementDefaultNS("Title", s.title)); - // Abstract is optionnal + // Abstract is optional if (s['abstract']) { // abstract is a js keyword style.appendChild(this.createElementDefaultNS( "Abstract", s['abstract']