Skip to content

Commit 8a94a43

Browse files
committed
fix: point at staging
1 parent 9791bee commit 8a94a43

File tree

2 files changed

+39
-11
lines changed

2 files changed

+39
-11
lines changed

gl/styles/3d-routes.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"type": "vector",
1717
"scheme": "tms",
1818
"tiles": [
19-
"https://ws-dv.trimet.org/geoserver/gwc/service/tms/1.0.0/ott:current@EPSG:900913@pbf/{z}/{x}/{y}.pbf"
19+
"https://ws-st.trimet.org/geoserver/gwc/service/tms/1.0.0/ott:current@EPSG:900913@pbf/{z}/{x}/{y}.pbf"
2020
]
2121
}
2222
},
@@ -525,7 +525,7 @@
525525
"source-layer": "current_flex",
526526
"paint": {
527527
"line-color": ["get", "region_color"],
528-
"line-width": 3.0
528+
"line-width": 2.3
529529
}
530530
},
531531
{

gl/styles/rtp.json

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"type": "vector",
1515
"url": "mbtiles://or-wa.mbtiles"
1616
},
17-
"routes": {
17+
"transit_layers": {
1818
"type": "vector",
1919
"scheme": "tms",
2020
"tiles": [
21-
"https://ws-st.trimet.org/geoserver/gwc/service/tms/1.0.0/ott:current_routes_n_stops@EPSG:900913@pbf/{z}/{x}/{y}.pbf"
21+
"https://ws-st.trimet.org/geoserver/gwc/service/tms/1.0.0/ott:current@EPSG:900913@pbf/{z}/{x}/{y}.pbf"
2222
]
2323
}
2424
},
@@ -574,10 +574,30 @@
574574
"line-width": {"base": 1.3, "stops": [[3, 0.5], [22, 15]]}
575575
}
576576
},
577+
{
578+
"id": "transit_flex_fill",
579+
"type": "fill",
580+
"source": "transit_layers",
581+
"source-layer": "current_flex",
582+
"paint": {
583+
"fill-color": ["get", "region_color"],
584+
"fill-opacity": 0.6
585+
}
586+
},
587+
{
588+
"id": "transit_flex_outline",
589+
"type": "line",
590+
"source": "transit_layers",
591+
"source-layer": "current_flex",
592+
"paint": {
593+
"line-color": ["get", "region_color"],
594+
"line-width": 2.3
595+
}
596+
},
577597
{
578598
"id": "transit_bus",
579599
"type": "line",
580-
"source": "routes",
600+
"source": "transit_layers",
581601
"source-layer": "current_routes",
582602
"minzoom": 11,
583603
"filter": ["all", ["==", "route_type", 3]],
@@ -597,7 +617,7 @@
597617
{
598618
"id": "transit_rail",
599619
"type": "line",
600-
"source": "routes",
620+
"source": "transit_layers",
601621
"source-layer": "current_routes",
602622
"filter": ["all", ["==", "route_type", 2]],
603623
"layout": {
@@ -614,9 +634,13 @@
614634
{
615635
"id": "transit_sc",
616636
"type": "line",
617-
"source": "routes",
637+
"source": "transit_layers",
618638
"source-layer": "current_routes",
619-
"filter": ["in", "route_id", "193", "194", "195"],
639+
"filter": [
640+
"all",
641+
["in", "route_id", "193", "194", "195"],
642+
["==", "route_type", 0]
643+
],
620644
"layout": {
621645
"visibility": "visible",
622646
"line-cap": "round",
@@ -629,7 +653,7 @@
629653
{
630654
"id": "transit_brt",
631655
"type": "line",
632-
"source": "routes",
656+
"source": "transit_layers",
633657
"source-layer": "current_routes",
634658
"minzoom": 9,
635659
"filter": ["in", "route_id", "2", "050", "051"],
@@ -643,9 +667,13 @@
643667
{
644668
"id": "transit_max",
645669
"type": "line",
646-
"source": "routes",
670+
"source": "transit_layers",
647671
"source-layer": "current_routes",
648-
"filter": ["in", "route_id", "290", "200", "190", "90", "100"],
672+
"filter": [
673+
"all",
674+
["in", "route_id", "290", "200", "190", "90", "100"],
675+
["==", "route_type", 0]
676+
],
649677
"layout": {
650678
"visibility": "visible",
651679
"line-cap": "round",

0 commit comments

Comments
 (0)