Skip to content

Commit

Permalink
Tweak LRR maps
Browse files Browse the repository at this point in the history
Show station entrances, bus stops
Remove duplicated points in GPX
Fix a landmark entrance code
  • Loading branch information
nickswalker committed Sep 18, 2024
1 parent f8919c7 commit 70b7f86
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 13 deletions.
48 changes: 39 additions & 9 deletions maps/lrr24-map-style.json
Original file line number Diff line number Diff line change
Expand Up @@ -2413,28 +2413,58 @@
}
},
{
"id": "poi_transit",
"id": "poi_transit_entrance",
"type": "symbol",
"source": "planet",
"source-layer": "poi",
"filter": ["all", ["in", "class", "bus", "rail", "airport"]],
"minzoom": 16,
"filter": ["all", ["in", "class","entrance"]],
"layout": {
"icon-image": "{class}",
"text-anchor": "left",
"text-field": "{name_en}",
"text-field": ["coalesce", ["get", "ref"], ["get", "name_en"]],
"text-font": ["Roboto Condensed Italic"],
"text-max-width": 9,
"text-offset": [0.9, 0],
"text-size": 12,
"visibility": "none"
"text-size": 12
},
"paint": {
"text-color": "#666",
"text-halo-color": "#000000",
"text-color": "hsl(0,0%,35%)",
"text-halo-color": "#111",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"icon-color": "hsl(0, 0%, 50%)",
"icon-halo-color": "#000",
"icon-color": "hsl(0,0%,35%)",
"icon-halo-color": "#111",
"icon-halo-width": 0.5,
"icon-halo-blur": 0.5
}
},
{
"id": "poi_transit",
"type": "symbol",
"source": "planet",
"source-layer": "poi",
"minzoom": 16,
"filter": ["any",
["in", "class", "bus", "rail", "airport"],
["all", ["==", "class", "amenity"], ["==", "subclass", "ferry_terminal"]]],
"layout": {
"icon-image": "{subclass}",
"text-anchor": "left",
"text-justify": "left",
"text-field": ["coalesce", ["get", "name_en"]],
"text-font": ["Roboto Condensed Italic"],
"text-max-width": 9,
"text-offset": [0.9, 0],
"text-size": 12
},
"paint": {
"text-color": "hsl(0,0%,35%)",
"text-halo-color": "#111",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"icon-color": "hsl(0,0%,35%)",
"icon-halo-color": "#111",
"icon-halo-width": 0.5,
"icon-halo-blur": 0.5
}
Expand Down
Loading

0 comments on commit 70b7f86

Please sign in to comment.