From 4c6289278b7d6707c2a44290bafc5ba35b0178ee Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Thu, 23 Apr 2015 13:31:26 +0200 Subject: [PATCH] Add basic docs for kmlformat --- src/ol/format/kmlformat.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ol/format/kmlformat.js b/src/ol/format/kmlformat.js index 6bd5993d26..52cdfad2bc 100644 --- a/src/ol/format/kmlformat.js +++ b/src/ol/format/kmlformat.js @@ -1822,6 +1822,8 @@ ol.format.KML.prototype.readFeaturesFromNode = function(node, opt_options) { /** + * Read the name of the KML. + * * @param {Document|Node|string} source Souce. * @return {string|undefined} Name. * @api stable @@ -1889,7 +1891,9 @@ ol.format.KML.prototype.readNameFromNode = function(node) { /** - * @param {Document|Node|string} source Souce. + * Read the network links of the KML. + * + * @param {Document|Node|string} source Source. * @return {Array.} Network links. * @api */