Named exports from ol/format/XLink

This commit is contained in:
Frederic Junod
2018-02-14 10:47:25 +01:00
parent 4f358f018b
commit 1953d41d0d
4 changed files with 11 additions and 13 deletions

View File

@@ -4,7 +4,7 @@
import {inherits} from '../index.js';
import {boundingExtent} from '../extent.js';
import OWS from '../format/OWS.js';
import XLink from '../format/XLink.js';
import {readHref} from '../format/XLink.js';
import XML from '../format/XML.js';
import XSD from '../format/XSD.js';
import {pushParseAndPop, makeStructureNS,
@@ -344,7 +344,7 @@ function readWgs84BoundingBox(node, objectStack) {
function readLegendUrl(node, objectStack) {
const legend = {};
legend['format'] = node.getAttribute('format');
legend['href'] = XLink.readHref(node);
legend['href'] = readHref(node);
return legend;
}