Skip to content

Commit

Permalink
Interpolate stop size
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin authored Dec 10, 2024
1 parent 5501e1c commit 00a4a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/addLayers/addStops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export function addStopsLayers(map: Map, darkMode: boolean, layerspercategory: a
'text-field': ['get', 'displayname'],
//'text-field': ['coalesce', ['get', 'route_types']],
'text-variable-anchor': ['left', 'right', 'top', 'bottom'],
'text-size': 10,
'text-radial-offset': 0.7,
'text-size': ['interpolate', ['linear'], ['zoom'], 13, 7, 15, 8, 16, 10],
'text-radial-offset': 0.5,
//'text-ignore-placement': false,
//'icon-ignore-placement': false,
//'text-allow-overlap': true,
Expand Down

0 comments on commit 00a4a6e

Please sign in to comment.