Committing patch from #559 to add CLASS_NAME for all classes. (I never cleaned
these up like I should have.) git-svn-id: http://svn.openlayers.org/trunk/openlayers@2876 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -29,5 +29,9 @@ OpenLayers.Format.prototype = {
|
||||
*/
|
||||
write: function(features) {
|
||||
alert("Write not implemented.");
|
||||
}
|
||||
},
|
||||
|
||||
/** @final @type String */
|
||||
CLASS_NAME: "OpenLayers.Format"
|
||||
|
||||
};
|
||||
|
||||
@@ -429,5 +429,9 @@ OpenLayers.Format.GML.prototype =
|
||||
coordinatesNode.appendChild(txtNode);
|
||||
|
||||
return coordinatesNode;
|
||||
}
|
||||
},
|
||||
|
||||
/** @final @type String */
|
||||
CLASS_NAME: "OpenLayers.Format.GML"
|
||||
|
||||
});
|
||||
|
||||
@@ -103,5 +103,9 @@ OpenLayers.Format.GeoRSS.prototype =
|
||||
path += geometry.lat + " " + geometry.lon + " ";
|
||||
}
|
||||
return document.createTextNode(path);
|
||||
}
|
||||
},
|
||||
|
||||
/** @final @type String */
|
||||
CLASS_NAME: "OpenLayers.Format.GeoRSS"
|
||||
|
||||
});
|
||||
|
||||
@@ -164,6 +164,7 @@ OpenLayers.Format.KML.prototype =
|
||||
return p;
|
||||
},
|
||||
|
||||
/** @final @type String */
|
||||
CLASS_NAME: "OpenLayers.Format.KML"
|
||||
|
||||
});
|
||||
|
||||
@@ -152,5 +152,9 @@ OpenLayers.Format.WFS.prototype =
|
||||
|
||||
destroy: function() {
|
||||
this.layer = null;
|
||||
}
|
||||
},
|
||||
|
||||
/** @final @type String */
|
||||
CLASS_NAME: "OpenLayers.Format.WFS"
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user