@basemaps/landing 6.36.0 → 6.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/build/__tests__/map.config.test.js +15 -15
  3. package/build/__tests__/map.config.test.js.map +1 -1
  4. package/build/attribution.js +1 -1
  5. package/build/attribution.js.map +1 -1
  6. package/build/components/copyable.js +1 -1
  7. package/build/components/copyable.js.map +1 -1
  8. package/build/components/debug.d.ts.map +1 -1
  9. package/build/components/debug.js +4 -2
  10. package/build/components/debug.js.map +1 -1
  11. package/build/components/layer.switcher.dropdown.js +1 -1
  12. package/build/components/layer.switcher.dropdown.js.map +1 -1
  13. package/build/components/layout.header.js +6 -6
  14. package/build/components/layout.header.js.map +1 -1
  15. package/build/config.debug.d.ts +1 -1
  16. package/build/config.debug.d.ts.map +1 -1
  17. package/build/debug.map.js +2 -2
  18. package/build/debug.map.js.map +1 -1
  19. package/build/tile.matrix.js +1 -1
  20. package/build/tile.matrix.js.map +1 -1
  21. package/build/url.d.ts +1 -1
  22. package/build/url.d.ts.map +1 -1
  23. package/build/url.js +7 -7
  24. package/build/url.js.map +1 -1
  25. package/dist/examples/index.openlayers.attribution.wmts.3857.html +1 -1
  26. package/dist/{index-6.36.0-e23052305a76fc56.js → index-6.38.0-060503daa6c281f7.js} +13 -13
  27. package/dist/{index-6.36.0-40fc4132c6bdc9c0.css → index-6.38.0-40fc4132c6bdc9c0.css} +0 -0
  28. package/dist/{index-6.36.0-ab87c9dbcb914a0d.js → index-6.38.0-dc4e1ccdf5b05fd8.js} +24 -3
  29. package/dist/index.html +2 -2
  30. package/dist/index.js +13 -13
  31. package/dist/lib/{attribution-6.36.0-b4a0b401b1a4cc45.js → attribution-6.38.0-b4a0b401b1a4cc45.js} +0 -0
  32. package/dist/lib/{attribution-6.36.0-fc88f809368e4547.js → attribution-6.38.0-fc88f809368e4547.js} +0 -0
  33. package/package.json +11 -13
@@ -46485,14 +46485,21 @@ var TileMatrixSets = {
46485
46485
  return (_a = this.Defaults.get(epsg)) !== null && _a !== void 0 ? _a : null;
46486
46486
  return (_b = this.Defaults.get(epsg.code)) !== null && _b !== void 0 ? _b : null;
46487
46487
  },
46488
- find(identifier) {
46488
+ find(identifier, caseSensitive = true) {
46489
46489
  if (identifier == null)
46490
46490
  return null;
46491
46491
  const epsg = Epsg.parse(identifier);
46492
46492
  if (epsg != null)
46493
46493
  return TileMatrixSets.tryGet(epsg);
46494
+ if (caseSensitive) {
46495
+ for (const tileMatrix of TileMatrixSets.All) {
46496
+ if (tileMatrix.identifier === identifier)
46497
+ return tileMatrix;
46498
+ }
46499
+ return null;
46500
+ }
46494
46501
  for (const tileMatrix of TileMatrixSets.All) {
46495
- if (tileMatrix.identifier === identifier)
46502
+ if (tileMatrix.identifier.toLowerCase() === identifier.toLowerCase())
46496
46503
  return tileMatrix;
46497
46504
  }
46498
46505
  return null;
@@ -53687,7 +53694,7 @@ var Config = {
53687
53694
  return "UA-23232486-4";
53688
53695
  },
53689
53696
  get Version() {
53690
- return "v6.36.0";
53697
+ return "v6.38.0";
53691
53698
  },
53692
53699
  map: new MapConfig()
53693
53700
  };
@@ -58462,6 +58469,7 @@ var Debug = class extends import_react12.Component {
58462
58469
  void 0,
58463
58470
  Config.map.config
58464
58471
  );
58472
+ const title = this.state.imagery?.title;
58465
58473
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
58466
58474
  className: "debug",
58467
58475
  children: [
@@ -58478,6 +58486,19 @@ var Debug = class extends import_react12.Component {
58478
58486
  })
58479
58487
  ]
58480
58488
  }),
58489
+ title == null ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
58490
+ className: "debug__info",
58491
+ children: [
58492
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("label", {
58493
+ className: "debug__label",
58494
+ children: "Title"
58495
+ }),
58496
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
58497
+ className: "debug__value",
58498
+ children: title
58499
+ })
58500
+ ]
58501
+ }),
58481
58502
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
58482
58503
  className: "debug__info",
58483
58504
  children: [
package/dist/index.html CHANGED
@@ -13,14 +13,14 @@
13
13
  <meta name="twitter:image" property="og:image" content="/basemaps-card.jpeg" />
14
14
  <meta name="twitter:description" property="og:description" content="NZ’s authoritative and open digital basemap service for LINZ and the public." />
15
15
 
16
- <link rel="stylesheet" href="index-6.36.0-40fc4132c6bdc9c0.css" integrity="QPxBMsa9ycDldME0s8JgXWau39r8/NX0ZbpxdBxK5fCgrQ4P0Cw4voZ9HxsAbkz0Q8ZJDhEznRlfnMRQCIKBLg==" />
16
+ <link rel="stylesheet" href="index-6.38.0-40fc4132c6bdc9c0.css" integrity="QPxBMsa9ycDldME0s8JgXWau39r8/NX0ZbpxdBxK5fCgrQ4P0Cw4voZ9HxsAbkz0Q8ZJDhEznRlfnMRQCIKBLg==" />
17
17
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet" />
18
18
  <title>Basemaps | Land Information New Zealand (LINZ)</title>
19
19
  </head>
20
20
 
21
21
  <body class="checker-board">
22
22
  <main id="main"></main>
23
- <script src="index-6.36.0-e23052305a76fc56.js" integrity="sha512-4jBSMFp2/Fa3mdHw4DuMHQ99ziCHjSPVRAKtKE8jww7T3pjC/hSbGDY83bR5uuQUzvUtP+GTI4zMAaLX/olWJg=="></script>
23
+ <script src="index-6.38.0-060503daa6c281f7.js" integrity="sha512-BgUD2qbCgfcOIJigrm19n2y/KES9Z2QUv7aUZSM+hC0iA0dDgoNAr9/DK2zqqIeWrYTefX6k5i0+AWrghP92Cw=="></script>
24
24
  </body>
25
25
 
26
26
  </html>