tweak(map): increase bathymetry depth label size
This commit is contained in:
부모
15d5d5ad23
커밋
dc702728be
@ -960,7 +960,8 @@ function injectOceanBathymetryLayers(style: StyleSpecification, maptilerKey: str
|
|||||||
"symbol-placement": "line",
|
"symbol-placement": "line",
|
||||||
"text-field": depthLabel,
|
"text-field": depthLabel,
|
||||||
"text-font": ["Noto Sans Regular", "Open Sans Regular"],
|
"text-font": ["Noto Sans Regular", "Open Sans Regular"],
|
||||||
"text-size": ["interpolate", ["linear"], ["zoom"], 10, 10, 12, 12],
|
// Make depth labels more legible on both mercator + globe.
|
||||||
|
"text-size": ["interpolate", ["linear"], ["zoom"], 10, 12, 12, 14, 14, 15],
|
||||||
"text-allow-overlap": false,
|
"text-allow-overlap": false,
|
||||||
"text-padding": 2,
|
"text-padding": 2,
|
||||||
"text-rotation-alignment": "map",
|
"text-rotation-alignment": "map",
|
||||||
|
|||||||
불러오는 중...
Reference in New Issue
Block a user