Skip to content

Commit 394f04d

Browse files
BigDuck430lowrt
authored andcommitted
feat(map): update color stops for temperature and pressure layers
New(zh-Hant): 調整溫度與氣壓圖層顯示顏色與對應值 New(en-US): Update color stops for temperature and pressure layers
1 parent 85431e2 commit 394f04d

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

lib/features/map/presentation/layers/pressure_layer.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ class PressureMapLayer
3737

3838
@override
3939
List<(double, String)> get colorStops => [
40-
(980, '#4575B4'.vision),
41-
(1000, '#ABD9E9'.vision),
42-
(1013, '#FFFFBF'.vision),
43-
(1025, '#FDAE61'.vision),
40+
(640, '#4575B4'.vision),
41+
(740, '#ABD9E9'.vision),
42+
(840, '#FFFFBF'.vision),
43+
(940, '#FDAE61'.vision),
4444
(1040, '#D73027'.vision),
4545
];
4646
}

lib/features/map/presentation/layers/temperature_layer.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ class TemperatureMapLayer
3737

3838
@override
3939
List<(double, String)> get colorStops => [
40-
(-5, '#4575B4'.vision),
41-
(5, '#74ADD1'.vision),
42-
(15, '#ABD9E9'.vision),
43-
(22, '#FFFFBF'.vision),
44-
(28, '#FDAE61'.vision),
45-
(34, '#F46D43'.vision),
46-
(40, '#D73027'.vision),
40+
(-20, '#4d4e51'.vision),
41+
(-10, '#0000ff'.vision),
42+
(0, '#308fff'.vision),
43+
(10, '#6fc1b2'.vision),
44+
(20, '#f6e78f'.vision),
45+
(30, '#ff4500'.vision),
46+
(40, '#81249D'.vision),
4747
];
4848
}

0 commit comments

Comments
 (0)