@file-viewer/renderer-geo 2.1.14 → 2.1.16

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/geo.js +2 -2
  2. package/package.json +4 -4
package/dist/geo.js CHANGED
@@ -7,7 +7,7 @@ const WEB_MERCATOR_LIMIT = 20037508.342789244;
7
7
  const DEFAULT_FIT_PADDING = 44;
8
8
  const MIN_MAP_ZOOM = 0;
9
9
  const MAX_MAP_ZOOM = 22;
10
- const OPENFREEMAP_STYLE_BASE = 'https://tiles.openfreemap.org/styles/';
10
+ const OPENFREEMAP_TILE_ORIGIN = 'https://tiles.openfreemap.org';
11
11
  const OSM_RASTER_TILE_URL = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png';
12
12
  const OSM_ATTRIBUTION = '© OpenStreetMap contributors';
13
13
  const OPENFREEMAP_STYLE_PRESETS = {
@@ -718,7 +718,7 @@ export const resolveFileViewerGeoBasemapConfig = (options, t) => {
718
718
  return {
719
719
  kind: 'vector-style',
720
720
  label: openFreeMapPreset.label,
721
- style: `${OPENFREEMAP_STYLE_BASE}${openFreeMapPreset.style}`,
721
+ style: `${OPENFREEMAP_TILE_ORIGIN}/styles/${openFreeMapPreset.style}`,
722
722
  attributionControl: true,
723
723
  };
724
724
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/renderer-geo",
3
- "version": "2.1.14",
3
+ "version": "2.1.16",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Standalone geospatial renderer plugin for Flyfish File Viewer with GeoJSON, KML, GPX, SHP parsing, CRS normalization, MapLibre overlay rendering, SVG fallback, and offline-friendly lazy loading.",
@@ -26,12 +26,12 @@
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",
29
- "url": "git+https://github.com/flyfish-dev/file-viewer-renderer-geo.git",
29
+ "url": "git+https://github.com/flyfish-dev/file-viewer.git",
30
30
  "directory": "packages/renderers/geo"
31
31
  },
32
32
  "homepage": "https://doc.file-viewer.app/guide/on-demand-renderers",
33
33
  "bugs": {
34
- "url": "https://github.com/flyfish-dev/file-viewer-renderer-geo/issues"
34
+ "url": "https://github.com/flyfish-dev/file-viewer/issues"
35
35
  },
36
36
  "funding": {
37
37
  "type": "individual",
@@ -55,7 +55,7 @@
55
55
  "LICENSE"
56
56
  ],
57
57
  "dependencies": {
58
- "@file-viewer/core": "^2.1.14",
58
+ "@file-viewer/core": "^2.1.16",
59
59
  "@tmcw/togeojson": "^7.1.2",
60
60
  "maplibre-gl": "^5.24.0",
61
61
  "proj4": "^2.20.9",