minor space and comment changes only (for KML format)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5160 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-11-09 18:19:14 +00:00
parent c986fe376e
commit 0ae59513db

View File

@@ -112,7 +112,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
* feature, and calls parseAttributes() to get attribute data out.
*
* Parameters:
* node - {<DOMElement>}
* node - {DOMElement}
*
* Returns:
* {<OpenLayers.Feature.Vector>} A vector feature.
@@ -320,7 +320,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
* Method: parseAttributes
*
* Parameters:
* node - {<DOMElement>}
* node - {DOMElement}
*
* Returns:
* {Object} An attributes object.
@@ -355,12 +355,12 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
* Accept Feature Collection, and return a string.
*
* Parameters:
* features - An array of <OpenLayers.Feature.Vector> features.
* features - {Array(<OpenLayers.Feature.Vector>} An array of features.
*
* Returns:
* {String} A KML string.
*/
write: function(features) {
write: function(features) {
if(!(features instanceof Array)) {
features = [features];
}
@@ -371,7 +371,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
}
kml.appendChild(folder);
return OpenLayers.Format.XML.prototype.write.apply(this, [kml]);
},
},
/**
* Method: createFolderXML