@opensystemslab/map 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,11 @@
1
- import { c as fr, g as _o } from "./index-91fc83f5.mjs";
1
+ import { c as fr, g as _o } from "./index-eQGV5hbg.mjs";
2
2
  var zt = function(a) {
3
3
  return a && a.Math == Math && a;
4
4
  }, z = (
5
5
  // eslint-disable-next-line es/no-global-this -- safe
6
6
  zt(typeof globalThis == "object" && globalThis) || zt(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
7
7
  zt(typeof self == "object" && self) || zt(typeof fr == "object" && fr) || // eslint-disable-next-line no-new-func -- fallback
8
- function() {
8
+ /* @__PURE__ */ function() {
9
9
  return this;
10
10
  }() || Function("return this")()
11
11
  ), ot = {}, L = function(a) {
@@ -380,7 +380,7 @@ var df = Ue, pf = k, yf = au, mf = ou, bf = K, xf = pf([].concat), Tf = df("Refl
380
380
  throw rc("Incorrect invocation");
381
381
  }, ic = G, nc = ic("toStringTag"), hu = {};
382
382
  hu[nc] = "z";
383
- var sc = String(hu) === "[object z]", oc = sc, uc = D, or = Fe, lc = G, hc = lc("toStringTag"), vc = Object, fc = or(function() {
383
+ var sc = String(hu) === "[object z]", oc = sc, uc = D, or = Fe, lc = G, hc = lc("toStringTag"), vc = Object, fc = or(/* @__PURE__ */ function() {
384
384
  return arguments;
385
385
  }()) == "Arguments", cc = function(a, e) {
386
386
  try {
@@ -2073,7 +2073,7 @@ var se, pl = function() {
2073
2073
  return a === " " || a === " " || a === "\r" || a === `
2074
2074
  `;
2075
2075
  }, yo = function(a) {
2076
- return "0".charCodeAt(0) <= a.charCodeAt(0) && a.charCodeAt(0) <= "9".charCodeAt(0);
2076
+ return 48 <= a.charCodeAt(0) && a.charCodeAt(0) <= 57;
2077
2077
  }, Pb = function(a) {
2078
2078
  function e() {
2079
2079
  var t = a.call(this) || this;
package/dist/index.html CHANGED
@@ -67,6 +67,7 @@
67
67
  <script>
68
68
  // --- MAP --- //
69
69
  const map = document.querySelector("my-map");
70
+ map.geojsonDataCopyright = `<a href="https://www.planning.data.gov.uk/dataset/title-boundary" target="_blank">Title boundary</a> subject to Crown copyright and database rights ${new Date().getFullYear()} OS (0)100026316`;
70
71
  map.clipGeojsonData = {
71
72
  "type": "Feature",
72
73
  "geometry": {