UNPKG

openlayers

Version:

Build tools and sources for developing OpenLayers based mapping applications

18 lines (13 loc) 329 B
goog.provide('ol.format.XLink'); /** * @const * @type {string} */ ol.format.XLink.NAMESPACE_URI = 'http://www.w3.org/1999/xlink'; /** * @param {Node} node Node. * @return {boolean|undefined} Boolean. */ ol.format.XLink.readHref = function(node) { return node.getAttributeNS(ol.format.XLink.NAMESPACE_URI, 'href'); };