Skip to content

Commit

Permalink
Set minzoom for electrification signals to 13 (#213)
Browse files Browse the repository at this point in the history
This sets minzoom for signals on this layer to the same value as on the
speed and train protection layers.

Co-authored-by: Hidde Wieringa <hidde@hiddewieringa.nl>
  • Loading branch information
besentv and hiddewie authored Jan 30, 2025
1 parent 15fdda7 commit 93ee8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/js/styles.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2294,7 +2294,7 @@ const layers = Object.fromEntries(knownThemes.map(theme => [theme, {
{
id: 'electrification_signals_direction',
type: 'symbol',
minzoom: 15,
minzoom: 13,
source: 'openrailwaymap_electrification',
'source-layer': 'electrification_signals',
filter: ['all',
Expand Down Expand Up @@ -2331,7 +2331,7 @@ const layers = Object.fromEntries(knownThemes.map(theme => [theme, {
['get', 'feature'],
{
type: 'symbol',
minzoom: 15,
minzoom: 13,
source: 'openrailwaymap_electrification',
'source-layer': 'electrification_signals',
paint: {
Expand Down

0 comments on commit 93ee8b1

Please sign in to comment.