Use extends and super for GMLBase

This commit is contained in:
ahocevar
2018-07-17 16:33:23 +02:00
parent 7f05bf1d7e
commit 9a28af76ca
2 changed files with 99 additions and 109 deletions

View File

@@ -75,7 +75,13 @@ class XMLFeature {
}
/**
* @inheritDoc
* Read all features from a feature collection.
*
* @function
* @param {Document|Node|Object|string} source Source.
* @param {module:ol/format/Feature~ReadOptions=} opt_options Options.
* @return {Array.<module:ol/Feature>} Features.
* @api
*/
readFeatures(source, opt_options) {
if (isDocument(source)) {