Add documentation for the KML format.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user