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