Skip to content

Commit

Permalink
Merge pull request #349 from nptscot/2025-Feb-update
Browse files Browse the repository at this point in the history
2025 Feb update
  • Loading branch information
Robinlovelace authored Feb 6, 2025
2 parents ab99d2f + 8d96ad0 commit 1ca41f8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ <h2>Layer controls</h2>
<div class="l_r">
<div class="lb"><span style="background-color: #e73f74"></span>Primary</div>
<div class="lb"><span style="background-color: #f1ce63"></span>Secondary</div>
<div class="lb"><span style="background-color: #7faedd"></span>Local Access</div>
<!-- <div class="lb"><span style="background-color: #7faedd"></span>Local Access</div> -->
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"osmDate": "2025-01-01"
"osmDate": "2025-02-01"
}
14 changes: 7 additions & 7 deletions src/datasets.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const datasets = {
'id': 'rnet',
'source': {
'type': 'vector',
'url': 'pmtiles://%tileserverUrl/rnet_2025-01-01.pmtiles',
'url': 'pmtiles://%tileserverUrl/rnet_2025-02-01.pmtiles',
},
'source-layer': 'rnet',
'type': 'line',
Expand All @@ -18,7 +18,7 @@ const datasets = {
'id': 'rnet-simplified',
'source': {
'type': 'vector',
'url': 'pmtiles://%tileserverUrl/rnet_simplified_2025-01-01.pmtiles', // #!# Inconsistent path - needs fixing
'url': 'pmtiles://%tileserverUrl/rnet_simplified_2025-02-01.pmtiles', // #!# Inconsistent path - needs fixing
},
'source-layer': 'rnet_simplified',
'type': 'line',
Expand All @@ -29,7 +29,7 @@ const datasets = {
'type': 'fill',
'source': {
'type': 'vector',
'url': 'pmtiles://%tileserverUrl/data_zones_2025-01-01.pmtiles',
'url': 'pmtiles://%tileserverUrl/data_zones_2025-02-01.pmtiles',
},
'source-layer': 'data_zones',
'paint': {
Expand Down Expand Up @@ -115,7 +115,7 @@ const datasets = {
'type': 'line',
'source': {
'type': 'vector',
'url': 'pmtiles://%tileserverUrl/cbd_layer_2025-01-01.pmtiles',
'url': 'pmtiles://%tileserverUrl/cbd_layer_2025-02-01.pmtiles',
},
'source-layer': 'cbd_layer',
'paint': {
Expand Down Expand Up @@ -143,16 +143,16 @@ const datasets = {
'type': 'line',
'source': {
'type': 'vector',
'url': 'pmtiles://%tileserverUrl/combined_CN_4_2025-01-01_OS.pmtiles',
'url': 'pmtiles://%tileserverUrl/combined_CN_4_2025-02-01_OS.pmtiles',
},
'source-layer': 'coherent_networks',
'paint': {
'line-color': [
'match',
['get', 'road_function'],
['get', 'road_function_npt'],
'Primary', '#e73f74',
'Secondary', '#f1ce63',
'Local Access', '#7faedd',
// 'Local Access', '#7faedd',
/* other */ '#808080'
],
'line-width': 3
Expand Down

0 comments on commit 1ca41f8

Please sign in to comment.