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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user