Add documentation for the KML format.

This commit is contained in:
Paul Spencer
2014-03-11 20:35:47 -04:00
parent 37feb7db64
commit a646577bd6
2 changed files with 30 additions and 1 deletions

View File

@@ -1,6 +1,5 @@
@exportSymbol ol.format.KML
@exportProperty ol.format.KML.prototype.readFeature
@exportProperty ol.format.KML.prototype.readFeatures
@exportProperty ol.format.KML.prototype.readGeometry
@exportProperty ol.format.KML.prototype.readName
@exportProperty ol.format.KML.prototype.readProjection

View File

@@ -1443,6 +1443,16 @@ ol.format.KML.prototype.readSharedStyleMap_ = function(node, objectStack) {
};
/**
* Read the first feature from a KML source.
*
* @function
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
* @return {ol.Feature} Feature.
*/
ol.format.KML.prototype.readFeature;
/**
* @inheritDoc
*/
@@ -1462,6 +1472,16 @@ ol.format.KML.prototype.readFeatureFromNode = function(node) {
};
/**
* Read all features from a KML source.
*
* @function
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
* @return {Array.<ol.Feature>} Features.
*/
ol.format.KML.prototype.readFeatures;
/**
* @inheritDoc
*/
@@ -1573,6 +1593,16 @@ ol.format.KML.prototype.readNameFromNode = function(node) {
};
/**
* Read the projection from a KML source.
*
* @function
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
* @return {ol.proj.Projection} Projection.
*/
ol.format.KML.prototype.readProjection;
/**
* @inheritDoc
*/