Skip to content

Commit

Permalink
Show distance along route in hover popup
Browse files Browse the repository at this point in the history
Display train ID
Filter out past trains which still get returned by OBA
Improve focus behavior, turn off popup focus steal which was messing with zooming
Store map parameters in session instead of URL so hash to be used for intra-page links
Add recommended stops for solo runners to logistics FAQ
Add convenience shops to lower-zoom-visible POIs
Cartography updates to give map more texture at low zooms
  • Loading branch information
nickswalker committed Aug 24, 2024
1 parent 20aa66a commit 2bc7714
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions maps/lrr24-map-style.json
Original file line number Diff line number Diff line change
Expand Up @@ -2978,7 +2978,7 @@
"source": "maptiler_planet",
"source-layer": "place",
"minzoom": 5,
"filter": ["all", ["==", "class", "city"]],
"filter": ["any", ["==", ["get","class"], "city"]],
"layout": {
"icon-image": {"base": 1, "stops": [[0, "dot_9"], [8, ""]]},
"text-anchor": "bottom",
Expand Down Expand Up @@ -3011,6 +3011,7 @@
"islet",
"neighbourhood",
"suburb",
"town",
"quarter"
]
],
Expand All @@ -3019,7 +3020,13 @@
"text-font": ["Roboto Regular"],
"text-letter-spacing": 0.05,
"text-max-width": 9,
"text-size": {"base": 1.2, "stops": [[12, 10], [15, 14]]},
"text-size": [
"interpolate",
["linear"],
["zoom"],
12, ["*", ["case", ["==", ["get", "class"], "town"], 1.8, 1.2], 8],
15, ["*", ["case", ["==", ["get", "class"], "town"], 1.8, 1.2], 12]
],
"text-transform": "uppercase"
},
"paint": {
Expand Down

0 comments on commit 2bc7714

Please sign in to comment.