@fusion.dev/helix-map 0.249.2 → 0.250.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.
|
@@ -151,7 +151,7 @@ const simplified = (points) => {
|
|
|
151
151
|
return points.filter((_, index) => kept[index] === 1);
|
|
152
152
|
};
|
|
153
153
|
const nothing = () => ({ credit: [], markup: '', picture: '' });
|
|
154
|
-
const OPENFREEMAP = 'https://tiles.openfreemap.org/
|
|
154
|
+
const OPENFREEMAP = 'https://tiles.openfreemap.org/backup_planet';
|
|
155
155
|
const OPENFREEMAP_CREDIT = '<a href="https://openfreemap.org" target="_blank">OpenFreeMap</a> <a href="https://www.openmaptiles.org/" target="_blank">© OpenMapTiles</a> Data from <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>';
|
|
156
156
|
const MOST_TILES = 40;
|
|
157
157
|
const MARGIN = 16;
|
package/dist/style/map-style.js
CHANGED
|
@@ -2,7 +2,7 @@ import { bed, firstAid, forkKnife, graduationCap, shoppingBag, star, train, tree
|
|
|
2
2
|
import { cssColor, legible as legibleOn, mix, parseColor, rehue } from './oklab.js';
|
|
3
3
|
const OPENFREEMAP = {
|
|
4
4
|
glyphs: 'https://tiles.openfreemap.org/fonts/{fontstack}/{range}.pbf',
|
|
5
|
-
tiles: 'https://tiles.openfreemap.org/
|
|
5
|
+
tiles: 'https://tiles.openfreemap.org/backup_planet',
|
|
6
6
|
};
|
|
7
7
|
export const MAP_LANDMARKS = [
|
|
8
8
|
'culture',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-map",
|
|
3
3
|
"description": "Connects the Helix Map frame to a map renderer: MapLibre, Leaflet, or a driver of your own.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.250.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fusion Development Group",
|
|
7
7
|
"repository": {
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
},
|
|
45
45
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@fusion.dev/helix-core": "0.
|
|
48
|
-
"@fusion.dev/helix-icons": "0.
|
|
47
|
+
"@fusion.dev/helix-core": "0.250.0",
|
|
48
|
+
"@fusion.dev/helix-icons": "0.250.0",
|
|
49
49
|
"@mapbox/vector-tile": "^3.0.0",
|
|
50
50
|
"pbf": "^5.1.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@fusion.dev/helix-headless": "0.
|
|
54
|
-
"@fusion.dev/helix-testing": "0.
|
|
53
|
+
"@fusion.dev/helix-headless": "0.250.0",
|
|
54
|
+
"@fusion.dev/helix-testing": "0.250.0",
|
|
55
55
|
"@maplibre/maplibre-gl-style-spec": "^26.8.0",
|
|
56
56
|
"@types/bun": "^1.4.4",
|
|
57
57
|
"@types/leaflet": "^1.9.20",
|