1function _init_basemap_layers(e, t, o, r) { let a = !1; if (null != t) { var l = {}; for (let n of t.basemap_layers) { var i = L.tileLayer(n.url, { attribution: n.attribution, minZoom: n.min_zoom, maxZoom: n.max_zoom, errorTileUrl: n.error_tile_url, zoomOffset: n.zoom_offset, tms: n.tms, zoomReverse: n.zoom_reverse, detectRetina: n.detect_retina }); l[n.title] = i, "unknown" != typeof o && null !== o && (o.addBaseLayer(i, n.title), a = !0) } !0 === a && l[Object.keys(l)[0]].addTo(e), 0 !== Object.keys(l).length && ("unknown" == typeof o || null === o) ? (L.control.layers(l).addTo(e), l[Object.keys(l)[0]].addTo(e), a = !0) : !1 === a && !1 === r && L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png").addTo(e) } return Object.keys(l).length >= 1 && t.length, a } export { _init_basemap_layers };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.