tileserver-gl-light 4.10.2 → 4.11.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.
package/.husky/commit-msg CHANGED
@@ -1,6 +1,3 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  NAME=$(git config user.name)
5
2
  EMAIL=$(git config user.email)
6
3
 
package/.husky/pre-push CHANGED
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npm exec --no -- lint-staged --no-stash
@@ -8,7 +8,7 @@ Styles
8
8
  ======
9
9
  * Styles are served at ``/styles/{id}/style.json`` (+ array at ``/styles.json``)
10
10
 
11
- * Sprites at ``/styles/{id}/sprite[@2x].{format}``
11
+ * Sprites at ``/styles/{id}/sprite[/spriteID][@2x].{format}``
12
12
  * Fonts at ``/fonts/{fontstack}/{start}-{end}.pbf``
13
13
 
14
14
  Rendered tiles
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tileserver-gl-light",
3
- "version": "4.10.2",
3
+ "version": "4.11.0",
4
4
  "description": "Map tile server for JSON GL styles - serving vector tiles",
5
5
  "main": "src/main.js",
6
6
  "bin": "src/main.js",
@@ -22,22 +22,22 @@
22
22
  "@mapbox/polyline": "^1.2.1",
23
23
  "@mapbox/sphericalmercator": "1.2.0",
24
24
  "@mapbox/vector-tile": "1.3.1",
25
- "@maplibre/maplibre-gl-style-spec": "20.1.0",
25
+ "@maplibre/maplibre-gl-style-spec": "20.1.1",
26
26
  "@sindresorhus/fnv1a": "3.1.0",
27
27
  "advanced-pool": "0.3.3",
28
- "axios": "^1.6.7",
29
- "chokidar": "3.5.3",
28
+ "axios": "^1.6.8",
29
+ "chokidar": "3.6.0",
30
30
  "clone": "2.1.2",
31
31
  "color": "4.2.3",
32
- "commander": "11.1.0",
32
+ "commander": "12.0.0",
33
33
  "cors": "2.8.5",
34
- "express": "4.18.2",
34
+ "express": "4.19.2",
35
35
  "handlebars": "4.7.8",
36
36
  "http-shutdown": "1.2.2",
37
37
  "morgan": "1.10.0",
38
38
  "pbf": "3.2.1",
39
- "pmtiles": "3.0.0",
40
- "proj4": "2.10.0",
39
+ "pmtiles": "3.0.5",
40
+ "proj4": "2.11.0",
41
41
  "sanitize-filename": "1.6.3",
42
42
  "tileserver-gl-styles": "2.0.0"
43
43
  },
@@ -1,40 +1,40 @@
1
1
  .maplibregl-inspect_popup {
2
- color: #333;
3
- display: table;
4
- }
5
-
6
- .maplibregl-inspect_feature:not(:last-child) {
7
- border-bottom: 1px solid #ccc;
8
- }
9
-
10
- .maplibregl-inspect_layer:before {
11
- content: '#';
12
- }
13
-
14
- .maplibregl-inspect_layer {
15
- display: block;
16
- font-weight: bold;
17
- }
18
-
19
- .maplibregl-inspect_property {
20
- display: table-row;
21
- }
22
-
23
- .maplibregl-inspect_property-value {
24
- display: table-cell;
25
- word-break: break-all;
26
- }
27
-
28
- .maplibregl-inspect_property-name {
29
- display: table-cell;
30
- padding-right: 10px;
31
- word-break: break-all;
32
- }
33
-
34
- .maplibregl-ctrl-inspect {
35
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333333' preserveAspectRatio='xMidYMid meet' viewBox='-10 -10 60 60'%3E%3Cg%3E%3Cpath d='m15 21.6q0-2 1.5-3.5t3.5-1.5 3.5 1.5 1.5 3.5-1.5 3.6-3.5 1.4-3.5-1.4-1.5-3.6z m18.4 11.1l-6.4-6.5q1.4-2.1 1.4-4.6 0-3.4-2.5-5.8t-5.9-2.4-5.9 2.4-2.5 5.8 2.5 5.9 5.9 2.5q2.4 0 4.6-1.4l7.4 7.4q-0.9 0.6-2 0.6h-20q-1.3 0-2.3-0.9t-1.1-2.3l0.1-26.8q0-1.3 1-2.3t2.3-0.9h13.4l10 10v19.3z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
36
- }
37
-
38
- .maplibregl-ctrl-map {
39
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333333' viewBox='-10 -10 60 60' preserveAspectRatio='xMidYMid meet'%3E%3Cg%3E%3Cpath d='m25 31.640000000000004v-19.766666666666673l-10-3.511666666666663v19.766666666666666z m9.140000000000008-26.640000000000004q0.8599999999999923 0 0.8599999999999923 0.8600000000000003v25.156666666666666q0 0.625-0.625 0.783333333333335l-9.375 3.1999999999999993-10-3.5133333333333354-8.906666666666668 3.4383333333333326-0.2333333333333334 0.07833333333333314q-0.8616666666666664 0-0.8616666666666664-0.8599999999999994v-25.156666666666663q0-0.625 0.6233333333333331-0.7833333333333332l9.378333333333334-3.198333333333334 10 3.5133333333333336 8.905000000000001-3.4383333333333344z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
40
- }
2
+ color: #333;
3
+ display: table;
4
+ }
5
+
6
+ .maplibregl-inspect_feature:not(:last-child) {
7
+ border-bottom: 1px solid #ccc;
8
+ }
9
+
10
+ .maplibregl-inspect_layer:before {
11
+ content: '#';
12
+ }
13
+
14
+ .maplibregl-inspect_layer {
15
+ display: block;
16
+ font-weight: bold;
17
+ }
18
+
19
+ .maplibregl-inspect_property {
20
+ display: table-row;
21
+ }
22
+
23
+ .maplibregl-inspect_property-value {
24
+ display: table-cell;
25
+ word-break: break-all;
26
+ }
27
+
28
+ .maplibregl-inspect_property-name {
29
+ display: table-cell;
30
+ padding-right: 10px;
31
+ word-break: break-all;
32
+ }
33
+
34
+ .maplibregl-ctrl-inspect {
35
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333333' preserveAspectRatio='xMidYMid meet' viewBox='-10 -10 60 60'%3E%3Cg%3E%3Cpath d='m15 21.6q0-2 1.5-3.5t3.5-1.5 3.5 1.5 1.5 3.5-1.5 3.6-3.5 1.4-3.5-1.4-1.5-3.6z m18.4 11.1l-6.4-6.5q1.4-2.1 1.4-4.6 0-3.4-2.5-5.8t-5.9-2.4-5.9 2.4-2.5 5.8 2.5 5.9 5.9 2.5q2.4 0 4.6-1.4l7.4 7.4q-0.9 0.6-2 0.6h-20q-1.3 0-2.3-0.9t-1.1-2.3l0.1-26.8q0-1.3 1-2.3t2.3-0.9h13.4l10 10v19.3z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
36
+ }
37
+
38
+ .maplibregl-ctrl-map {
39
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333333' viewBox='-10 -10 60 60' preserveAspectRatio='xMidYMid meet'%3E%3Cg%3E%3Cpath d='m25 31.640000000000004v-19.766666666666673l-10-3.511666666666663v19.766666666666666z m9.140000000000008-26.640000000000004q0.8599999999999923 0 0.8599999999999923 0.8600000000000003v25.156666666666666q0 0.625-0.625 0.783333333333335l-9.375 3.1999999999999993-10-3.5133333333333354-8.906666666666668 3.4383333333333326-0.2333333333333334 0.07833333333333314q-0.8616666666666664 0-0.8616666666666664-0.8599999999999994v-25.156666666666663q0-0.625 0.6233333333333331-0.7833333333333332l9.378333333333334-3.198333333333334 10 3.5133333333333336 8.905000000000001-3.4383333333333344z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
40
+ }