@ruckc/truss-ol 1.59.0 → 1.59.1

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 (2) hide show
  1. package/dist/basemaps.js +9 -9
  2. package/package.json +2 -2
package/dist/basemaps.js CHANGED
@@ -27,12 +27,12 @@ const tiles = (service) => `${ARC}/${service}/MapServer/tile/{z}/{y}/{x}`;
27
27
  const POWERED = 'Powered by <a href="https://www.esri.com" target="_blank" rel="noopener">Esri</a>';
28
28
  // The credits are each service's own `copyrightText` (its REST endpoint, `?f=json`), as Esri asks them to be shown. "Powered by Esri" is its
29
29
  // own item, identical across the presets, so a stack (the hybrid) shows it once and each layer's credit as its own item.
30
- const IMAGERY = `Source: Esri, Vantor, Earthstar Geographics, and the GIS User Community`;
31
- const STREETS = `Sources: Esri, HERE, Garmin, USGS, Intermap, INCREMENT P, NRCan, Esri Japan, METI, Esri China (Hong Kong), Esri Korea, Esri (Thailand), NGCC, © OpenStreetMap contributors, and the GIS User Community`;
32
- const TOPO = `Sources: Esri, HERE, Garmin, Intermap, increment P Corp., GEBCO, USGS, FAO, NPS, NRCAN, GeoBase, IGN, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), © OpenStreetMap contributors, and the GIS User Community`;
33
- const PLACES = 'Esri, HERE, Garmin, © OpenStreetMap contributors, and the GIS user community';
30
+ const IMAGERY_CREDIT = `Source: Esri, Vantor, Earthstar Geographics, and the GIS User Community`;
31
+ const STREETS_CREDIT = `Sources: Esri, HERE, Garmin, USGS, Intermap, INCREMENT P, NRCan, Esri Japan, METI, Esri China (Hong Kong), Esri Korea, Esri (Thailand), NGCC, © OpenStreetMap contributors, and the GIS User Community`;
32
+ const TOPO_CREDIT = `Sources: Esri, HERE, Garmin, Intermap, increment P Corp., GEBCO, USGS, FAO, NPS, NRCAN, GeoBase, IGN, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), © OpenStreetMap contributors, and the GIS User Community`;
33
+ const PLACES_CREDIT = 'Esri, HERE, Garmin, © OpenStreetMap contributors, and the GIS user community';
34
34
  /** Esri's place-name and boundary overlay (Reference/World_Boundaries_and_Places), to stack over imagery. */
35
- export const esriLabels = { url: tiles('Reference/World_Boundaries_and_Places'), attribution: [POWERED, PLACES], maxZoom: 19 };
35
+ export const esriLabels = { url: tiles('Reference/World_Boundaries_and_Places'), attribution: [POWERED, PLACES_CREDIT], maxZoom: 19 };
36
36
  /**
37
37
  * Esri ArcGIS Online basemaps as `basemaps` entries (each also works as `basemap`): World_Imagery, World_Street_Map, World_Topo_Map, and
38
38
  * World_Imagery with the World_Boundaries_and_Places labels on top. Each carries the attribution Esri's service publishes. None is themed,
@@ -44,8 +44,8 @@ export const esriLabels = { url: tiles('Reference/World_Boundaries_and_Places'),
44
44
  * services. See https://goto.arcgisonline.com/maps/World_Imagery and the other services' pages.
45
45
  */
46
46
  export const esriBasemaps = {
47
- imagery: { id: 'esri-imagery', layers: [{ url: tiles('World_Imagery'), attribution: [POWERED, IMAGERY], maxZoom: 19 }] },
48
- streets: { id: 'esri-streets', layers: [{ url: tiles('World_Street_Map'), attribution: [POWERED, STREETS], maxZoom: 19 }] },
49
- topo: { id: 'esri-topo', layers: [{ url: tiles('World_Topo_Map'), attribution: [POWERED, TOPO], maxZoom: 19 }] },
50
- hybrid: { id: 'esri-hybrid', layers: [{ url: tiles('World_Imagery'), attribution: [POWERED, IMAGERY], maxZoom: 19 }, esriLabels] }
47
+ imagery: { id: 'esri-imagery', layers: [{ url: tiles('World_Imagery'), attribution: [POWERED, IMAGERY_CREDIT], maxZoom: 19 }] },
48
+ streets: { id: 'esri-streets', layers: [{ url: tiles('World_Street_Map'), attribution: [POWERED, STREETS_CREDIT], maxZoom: 19 }] },
49
+ topo: { id: 'esri-topo', layers: [{ url: tiles('World_Topo_Map'), attribution: [POWERED, TOPO_CREDIT], maxZoom: 19 }] },
50
+ hybrid: { id: 'esri-hybrid', layers: [{ url: tiles('World_Imagery'), attribution: [POWERED, IMAGERY_CREDIT], maxZoom: 19 }, esriLabels] }
51
51
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruckc/truss-ol",
3
- "version": "1.59.0",
3
+ "version": "1.59.1",
4
4
  "description": "OpenLayers map styled with Truss UI",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "svelte": "^5.20.0",
32
- "@ruckc/truss-ui": "^1.59.0",
32
+ "@ruckc/truss-ui": "^1.59.1",
33
33
  "ol": "^10.0.0"
34
34
  },
35
35
  "devDependencies": {