@openhistoricalmap/map-styles 0.9.13 → 0.9.15

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.
@@ -1007,7 +1007,7 @@
1007
1007
  ["get", "type"],
1008
1008
  ["literal", ["residential", "service", "unclassified"]]
1009
1009
  ],
1010
- ["==", ["get", "bridge"], 0]
1010
+ ["!=", ["coalesce", ["get", "bridge"], 0], 1]
1011
1011
  ],
1012
1012
  "layout": {
1013
1013
  "visibility": "none",
@@ -1037,7 +1037,7 @@
1037
1037
  "filter": [
1038
1038
  "all",
1039
1039
  ["==", ["get", "type"], "tertiary"],
1040
- ["!=", ["get", "tunnel"], 1]
1040
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1041
1041
  ],
1042
1042
  "layout": {
1043
1043
  "visibility": "none",
@@ -1066,7 +1066,7 @@
1066
1066
  "filter": [
1067
1067
  "all",
1068
1068
  ["==", ["get", "type"], "secondary"],
1069
- ["!=", ["get", "tunnel"], 1]
1069
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1070
1070
  ],
1071
1071
  "layout": {
1072
1072
  "visibility": "none",
@@ -1095,7 +1095,7 @@
1095
1095
  "filter": [
1096
1096
  "all",
1097
1097
  ["in", ["get", "type"], ["literal", ["primary_link"]]],
1098
- ["!=", ["get", "tunnel"], 1]
1098
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1099
1099
  ],
1100
1100
  "layout": {
1101
1101
  "visibility": "none",
@@ -1124,7 +1124,7 @@
1124
1124
  "filter": [
1125
1125
  "all",
1126
1126
  ["in", ["get", "type"], ["literal", ["primary"]]],
1127
- ["!=", ["get", "tunnel"], 1],
1127
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1],
1128
1128
  ["!=", ["get", "ford"], "yes"]
1129
1129
  ],
1130
1130
  "layout": {
@@ -1163,7 +1163,7 @@
1163
1163
  "filter": [
1164
1164
  "all",
1165
1165
  ["in", ["get", "type"], ["literal", ["motorway_link", "trunk_link"]]],
1166
- ["!=", ["get", "tunnel"], 1]
1166
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1167
1167
  ],
1168
1168
  "layout": {
1169
1169
  "visibility": "none",
@@ -1201,7 +1201,7 @@
1201
1201
  "filter": [
1202
1202
  "all",
1203
1203
  ["in", ["get", "type"], ["literal", ["motorway", "trunk"]]],
1204
- ["!=", ["get", "tunnel"], 1]
1204
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1205
1205
  ],
1206
1206
  "layout": {
1207
1207
  "visibility": "none",
@@ -1422,7 +1422,7 @@
1422
1422
  "filter": [
1423
1423
  "all",
1424
1424
  ["==", ["get", "type"], "secondary_link"],
1425
- ["!=", ["get", "tunnel"], 1]
1425
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1426
1426
  ],
1427
1427
  "layout": {
1428
1428
  "visibility": "visible",
@@ -1458,7 +1458,7 @@
1458
1458
  "filter": [
1459
1459
  "all",
1460
1460
  ["in", ["get", "type"], ["literal", ["primary_link"]]],
1461
- ["!=", ["get", "tunnel"], 1]
1461
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1462
1462
  ],
1463
1463
  "layout": {
1464
1464
  "visibility": "visible",
@@ -1503,7 +1503,7 @@
1503
1503
  "filter": [
1504
1504
  "all",
1505
1505
  ["in", ["get", "type"], ["literal", ["motorway_link", "trunk_link"]]],
1506
- ["!=", ["get", "tunnel"], 1]
1506
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1507
1507
  ],
1508
1508
  "layout": {
1509
1509
  "visibility": "visible",
@@ -1585,7 +1585,7 @@
1585
1585
  "filter": [
1586
1586
  "all",
1587
1587
  ["==", ["get", "type"], "tertiary"],
1588
- ["!=", ["get", "tunnel"], 1]
1588
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1589
1589
  ],
1590
1590
  "layout": {
1591
1591
  "visibility": "visible",
@@ -1629,7 +1629,7 @@
1629
1629
  "filter": [
1630
1630
  "all",
1631
1631
  ["==", ["get", "type"], "secondary"],
1632
- ["!=", ["get", "tunnel"], 1]
1632
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1633
1633
  ],
1634
1634
  "layout": {
1635
1635
  "visibility": "visible",
@@ -1673,7 +1673,7 @@
1673
1673
  "filter": [
1674
1674
  "all",
1675
1675
  ["in", ["get", "type"], ["literal", ["primary"]]],
1676
- ["!=", ["get", "tunnel"], 1],
1676
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1],
1677
1677
  ["!=", ["get", "ford"], "yes"]
1678
1678
  ],
1679
1679
  "layout": {
@@ -1719,7 +1719,7 @@
1719
1719
  "filter": [
1720
1720
  "all",
1721
1721
  ["in", ["get", "type"], ["literal", ["motorway", "trunk"]]],
1722
- ["!=", ["get", "tunnel"], 1]
1722
+ ["!=", ["coalesce", ["get", "tunnel"], 0], 1]
1723
1723
  ],
1724
1724
  "layout": {
1725
1725
  "visibility": "visible",
package/wkg/index.html DELETED
@@ -1,18 +0,0 @@
1
- <html>
2
- <head>
3
- <script src="https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.js"></script>
4
- <link href="https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css" rel="stylesheet" />
5
- </head>
6
- <body>
7
- <div id="map" style="width:100%;height:100%"></div>
8
- <script>
9
- var map = new maplibregl.Map({
10
- container: 'map', // container id
11
- style: 'https://unpkg.com/@openhistoricalmap/map-styles@latest/dist/woodblock/woodblock.json', // style URL
12
- center: [0, 0], // starting position [lng, lat]
13
- zoom: 1 // starting zoom
14
- });
15
- </script>
16
-
17
- </body>
18
- </html>