@maplibre/maplibre-react-native 11.0.0-beta.30 → 11.0.0-beta.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/android/src/main/java/org/maplibre/reactnative/components/layer/MLRNLayer.kt +8 -8
  2. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyle.kt +60 -0
  3. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleFactory.kt +3005 -0
  4. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleValue.kt +159 -0
  5. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.kt +3 -1
  6. package/ios/components/layer/style/MLRNStyle.h +1 -1
  7. package/ios/components/layer/style/MLRNStyle.m +1 -1
  8. package/lib/commonjs/utils/getStylePropertyType.js +1 -1
  9. package/lib/module/utils/getStylePropertyType.js +1 -1
  10. package/lib/typescript/commonjs/types/MapLibreRNStyles.d.ts +92 -59
  11. package/lib/typescript/commonjs/types/MapLibreRNStyles.d.ts.map +1 -1
  12. package/lib/typescript/module/types/MapLibreRNStyles.d.ts +92 -59
  13. package/lib/typescript/module/types/MapLibreRNStyles.d.ts.map +1 -1
  14. package/package.json +1 -1
  15. package/src/types/MapLibreRNStyles.ts +102 -119
  16. package/src/utils/getStylePropertyType.ts +1 -1
  17. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyle.java +0 -76
  18. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleFactory.java +0 -2285
  19. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleFunctionParser.java +0 -94
  20. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleValue.java +0 -207
  21. package/android/src/main/java/org/maplibre/reactnative/events/AndroidCallbackEvent.java +0 -34
@@ -12,10 +12,16 @@ export type ExpressionName = "array" | "boolean" | "collator" | "format" | "imag
12
12
  export type ExpressionField = string | number | boolean | Expression | ExpressionField[] | {
13
13
  [key: string]: ExpressionField;
14
14
  };
15
+ /**
16
+ * @deprecated
17
+ */
15
18
  export type Expression = [ExpressionName, ...ExpressionField[]];
16
19
  type ExpressionParameters = "zoom" | "feature" | "feature-state" | "global-state" | "sky-radial-progress" | "line-progress" | "heatmap-density";
17
20
  type ResolvedImageType = ImageSourcePropType | string;
18
21
  export type Value<T, AllowedParameters extends ExpressionParameters[] = []> = T | Expression;
22
+ /**
23
+ * @deprecated
24
+ */
19
25
  export interface FillLayerStyle {
20
26
  /**
21
27
  * Sorts features in ascending order based on this value. Features with a higher
@@ -36,7 +42,7 @@ export interface FillLayerStyle {
36
42
  */
37
43
  fillOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
38
44
  /**
39
- * The transition affecting any changes to this layers fillOpacity property.
45
+ * The transition affecting any changes to this layer's fillOpacity property.
40
46
  */
41
47
  fillOpacityTransition?: Transition;
42
48
  /**
@@ -48,7 +54,7 @@ export interface FillLayerStyle {
48
54
  */
49
55
  fillColor?: Value<string, ["zoom", "feature", "feature-state"]>;
50
56
  /**
51
- * The transition affecting any changes to this layers fillColor property.
57
+ * The transition affecting any changes to this layer's fillColor property.
52
58
  */
53
59
  fillColorTransition?: Transition;
54
60
  /**
@@ -59,7 +65,7 @@ export interface FillLayerStyle {
59
65
  */
60
66
  fillOutlineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
61
67
  /**
62
- * The transition affecting any changes to this layers fillOutlineColor
68
+ * The transition affecting any changes to this layer's fillOutlineColor
63
69
  * property.
64
70
  */
65
71
  fillOutlineColorTransition?: Transition;
@@ -69,7 +75,7 @@ export interface FillLayerStyle {
69
75
  */
70
76
  fillTranslate?: Value<Translation, ["zoom"]>;
71
77
  /**
72
- * The transition affecting any changes to this layers fillTranslate property.
78
+ * The transition affecting any changes to this layer's fillTranslate property.
73
79
  */
74
80
  fillTranslateTransition?: Transition;
75
81
  /**
@@ -86,10 +92,13 @@ export interface FillLayerStyle {
86
92
  */
87
93
  fillPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
88
94
  /**
89
- * The transition affecting any changes to this layers fillPattern property.
95
+ * The transition affecting any changes to this layer's fillPattern property.
90
96
  */
91
97
  fillPatternTransition?: Transition;
92
98
  }
99
+ /**
100
+ * @deprecated
101
+ */
93
102
  export interface LineLayerStyle {
94
103
  /**
95
104
  * The display of line endings.
@@ -121,7 +130,7 @@ export interface LineLayerStyle {
121
130
  */
122
131
  lineOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
123
132
  /**
124
- * The transition affecting any changes to this layers lineOpacity property.
133
+ * The transition affecting any changes to this layer's lineOpacity property.
125
134
  */
126
135
  lineOpacityTransition?: Transition;
127
136
  /**
@@ -131,7 +140,7 @@ export interface LineLayerStyle {
131
140
  */
132
141
  lineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
133
142
  /**
134
- * The transition affecting any changes to this layers lineColor property.
143
+ * The transition affecting any changes to this layer's lineColor property.
135
144
  */
136
145
  lineColorTransition?: Transition;
137
146
  /**
@@ -140,7 +149,7 @@ export interface LineLayerStyle {
140
149
  */
141
150
  lineTranslate?: Value<Translation, ["zoom"]>;
142
151
  /**
143
- * The transition affecting any changes to this layers lineTranslate property.
152
+ * The transition affecting any changes to this layer's lineTranslate property.
144
153
  */
145
154
  lineTranslateTransition?: Transition;
146
155
  /**
@@ -154,7 +163,7 @@ export interface LineLayerStyle {
154
163
  */
155
164
  lineWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
156
165
  /**
157
- * The transition affecting any changes to this layers lineWidth property.
166
+ * The transition affecting any changes to this layer's lineWidth property.
158
167
  */
159
168
  lineWidthTransition?: Transition;
160
169
  /**
@@ -163,7 +172,7 @@ export interface LineLayerStyle {
163
172
  */
164
173
  lineGapWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
165
174
  /**
166
- * The transition affecting any changes to this layers lineGapWidth property.
175
+ * The transition affecting any changes to this layer's lineGapWidth property.
167
176
  */
168
177
  lineGapWidthTransition?: Transition;
169
178
  /**
@@ -174,7 +183,7 @@ export interface LineLayerStyle {
174
183
  */
175
184
  lineOffset?: Value<number, ["zoom", "feature", "feature-state"]>;
176
185
  /**
177
- * The transition affecting any changes to this layers lineOffset property.
186
+ * The transition affecting any changes to this layer's lineOffset property.
178
187
  */
179
188
  lineOffsetTransition?: Transition;
180
189
  /**
@@ -182,7 +191,7 @@ export interface LineLayerStyle {
182
191
  */
183
192
  lineBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
184
193
  /**
185
- * The transition affecting any changes to this layers lineBlur property.
194
+ * The transition affecting any changes to this layer's lineBlur property.
186
195
  */
187
196
  lineBlurTransition?: Transition;
188
197
  /**
@@ -199,7 +208,7 @@ export interface LineLayerStyle {
199
208
  */
200
209
  lineDasharray?: Value<number[], ["zoom", "feature"]>;
201
210
  /**
202
- * The transition affecting any changes to this layers lineDasharray property.
211
+ * The transition affecting any changes to this layer's lineDasharray property.
203
212
  */
204
213
  lineDasharrayTransition?: Transition;
205
214
  /**
@@ -209,7 +218,7 @@ export interface LineLayerStyle {
209
218
  */
210
219
  linePattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
211
220
  /**
212
- * The transition affecting any changes to this layers linePattern property.
221
+ * The transition affecting any changes to this layer's linePattern property.
213
222
  */
214
223
  linePatternTransition?: Transition;
215
224
  /**
@@ -220,6 +229,9 @@ export interface LineLayerStyle {
220
229
  */
221
230
  lineGradient?: Value<string, ["line-progress"]>;
222
231
  }
232
+ /**
233
+ * @deprecated
234
+ */
223
235
  export interface SymbolLayerStyle {
224
236
  /**
225
237
  * Label placement relative to its geometry.
@@ -539,7 +551,7 @@ export interface SymbolLayerStyle {
539
551
  */
540
552
  iconOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
541
553
  /**
542
- * The transition affecting any changes to this layers iconOpacity property.
554
+ * The transition affecting any changes to this layer's iconOpacity property.
543
555
  */
544
556
  iconOpacityTransition?: Transition;
545
557
  /**
@@ -549,7 +561,7 @@ export interface SymbolLayerStyle {
549
561
  */
550
562
  iconColor?: Value<string, ["zoom", "feature", "feature-state"]>;
551
563
  /**
552
- * The transition affecting any changes to this layers iconColor property.
564
+ * The transition affecting any changes to this layer's iconColor property.
553
565
  */
554
566
  iconColorTransition?: Transition;
555
567
  /**
@@ -559,7 +571,7 @@ export interface SymbolLayerStyle {
559
571
  */
560
572
  iconHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
561
573
  /**
562
- * The transition affecting any changes to this layers iconHaloColor property.
574
+ * The transition affecting any changes to this layer's iconHaloColor property.
563
575
  */
564
576
  iconHaloColorTransition?: Transition;
565
577
  /**
@@ -573,7 +585,7 @@ export interface SymbolLayerStyle {
573
585
  */
574
586
  iconHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
575
587
  /**
576
- * The transition affecting any changes to this layers iconHaloWidth property.
588
+ * The transition affecting any changes to this layer's iconHaloWidth property.
577
589
  */
578
590
  iconHaloWidthTransition?: Transition;
579
591
  /**
@@ -583,7 +595,7 @@ export interface SymbolLayerStyle {
583
595
  */
584
596
  iconHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
585
597
  /**
586
- * The transition affecting any changes to this layers iconHaloBlur property.
598
+ * The transition affecting any changes to this layer's iconHaloBlur property.
587
599
  */
588
600
  iconHaloBlurTransition?: Transition;
589
601
  /**
@@ -595,7 +607,7 @@ export interface SymbolLayerStyle {
595
607
  */
596
608
  iconTranslate?: Value<Translation, ["zoom"]>;
597
609
  /**
598
- * The transition affecting any changes to this layers iconTranslate property.
610
+ * The transition affecting any changes to this layer's iconTranslate property.
599
611
  */
600
612
  iconTranslateTransition?: Transition;
601
613
  /**
@@ -611,7 +623,7 @@ export interface SymbolLayerStyle {
611
623
  */
612
624
  textOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
613
625
  /**
614
- * The transition affecting any changes to this layers textOpacity property.
626
+ * The transition affecting any changes to this layer's textOpacity property.
615
627
  */
616
628
  textOpacityTransition?: Transition;
617
629
  /**
@@ -621,7 +633,7 @@ export interface SymbolLayerStyle {
621
633
  */
622
634
  textColor?: Value<string, ["zoom", "feature", "feature-state"]>;
623
635
  /**
624
- * The transition affecting any changes to this layers textColor property.
636
+ * The transition affecting any changes to this layer's textColor property.
625
637
  */
626
638
  textColorTransition?: Transition;
627
639
  /**
@@ -631,7 +643,7 @@ export interface SymbolLayerStyle {
631
643
  */
632
644
  textHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
633
645
  /**
634
- * The transition affecting any changes to this layers textHaloColor property.
646
+ * The transition affecting any changes to this layer's textHaloColor property.
635
647
  */
636
648
  textHaloColorTransition?: Transition;
637
649
  /**
@@ -642,7 +654,7 @@ export interface SymbolLayerStyle {
642
654
  */
643
655
  textHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
644
656
  /**
645
- * The transition affecting any changes to this layers textHaloWidth property.
657
+ * The transition affecting any changes to this layer's textHaloWidth property.
646
658
  */
647
659
  textHaloWidthTransition?: Transition;
648
660
  /**
@@ -652,7 +664,7 @@ export interface SymbolLayerStyle {
652
664
  */
653
665
  textHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
654
666
  /**
655
- * The transition affecting any changes to this layers textHaloBlur property.
667
+ * The transition affecting any changes to this layer's textHaloBlur property.
656
668
  */
657
669
  textHaloBlurTransition?: Transition;
658
670
  /**
@@ -664,7 +676,7 @@ export interface SymbolLayerStyle {
664
676
  */
665
677
  textTranslate?: Value<Translation, ["zoom"]>;
666
678
  /**
667
- * The transition affecting any changes to this layers textTranslate property.
679
+ * The transition affecting any changes to this layer's textTranslate property.
668
680
  */
669
681
  textTranslateTransition?: Transition;
670
682
  /**
@@ -674,6 +686,9 @@ export interface SymbolLayerStyle {
674
686
  */
675
687
  textTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
676
688
  }
689
+ /**
690
+ * @deprecated
691
+ */
677
692
  export interface CircleLayerStyle {
678
693
  /**
679
694
  * Sorts features in ascending order based on this value. Features with a higher
@@ -689,7 +704,7 @@ export interface CircleLayerStyle {
689
704
  */
690
705
  circleRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
691
706
  /**
692
- * The transition affecting any changes to this layers circleRadius property.
707
+ * The transition affecting any changes to this layer's circleRadius property.
693
708
  */
694
709
  circleRadiusTransition?: Transition;
695
710
  /**
@@ -697,7 +712,7 @@ export interface CircleLayerStyle {
697
712
  */
698
713
  circleColor?: Value<string, ["zoom", "feature", "feature-state"]>;
699
714
  /**
700
- * The transition affecting any changes to this layers circleColor property.
715
+ * The transition affecting any changes to this layer's circleColor property.
701
716
  */
702
717
  circleColorTransition?: Transition;
703
718
  /**
@@ -706,7 +721,7 @@ export interface CircleLayerStyle {
706
721
  */
707
722
  circleBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
708
723
  /**
709
- * The transition affecting any changes to this layers circleBlur property.
724
+ * The transition affecting any changes to this layer's circleBlur property.
710
725
  */
711
726
  circleBlurTransition?: Transition;
712
727
  /**
@@ -714,7 +729,7 @@ export interface CircleLayerStyle {
714
729
  */
715
730
  circleOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
716
731
  /**
717
- * The transition affecting any changes to this layers circleOpacity property.
732
+ * The transition affecting any changes to this layer's circleOpacity property.
718
733
  */
719
734
  circleOpacityTransition?: Transition;
720
735
  /**
@@ -723,7 +738,7 @@ export interface CircleLayerStyle {
723
738
  */
724
739
  circleTranslate?: Value<Translation, ["zoom"]>;
725
740
  /**
726
- * The transition affecting any changes to this layers circleTranslate
741
+ * The transition affecting any changes to this layer's circleTranslate
727
742
  * property.
728
743
  */
729
744
  circleTranslateTransition?: Transition;
@@ -747,7 +762,7 @@ export interface CircleLayerStyle {
747
762
  */
748
763
  circleStrokeWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
749
764
  /**
750
- * The transition affecting any changes to this layers circleStrokeWidth
765
+ * The transition affecting any changes to this layer's circleStrokeWidth
751
766
  * property.
752
767
  */
753
768
  circleStrokeWidthTransition?: Transition;
@@ -756,7 +771,7 @@ export interface CircleLayerStyle {
756
771
  */
757
772
  circleStrokeColor?: Value<string, ["zoom", "feature", "feature-state"]>;
758
773
  /**
759
- * The transition affecting any changes to this layers circleStrokeColor
774
+ * The transition affecting any changes to this layer's circleStrokeColor
760
775
  * property.
761
776
  */
762
777
  circleStrokeColorTransition?: Transition;
@@ -765,11 +780,14 @@ export interface CircleLayerStyle {
765
780
  */
766
781
  circleStrokeOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
767
782
  /**
768
- * The transition affecting any changes to this layers circleStrokeOpacity
783
+ * The transition affecting any changes to this layer's circleStrokeOpacity
769
784
  * property.
770
785
  */
771
786
  circleStrokeOpacityTransition?: Transition;
772
787
  }
788
+ /**
789
+ * @deprecated
790
+ */
773
791
  export interface HeatmapLayerStyle {
774
792
  /**
775
793
  * Whether this layer is displayed.
@@ -781,7 +799,7 @@ export interface HeatmapLayerStyle {
781
799
  */
782
800
  heatmapRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
783
801
  /**
784
- * The transition affecting any changes to this layers heatmapRadius property.
802
+ * The transition affecting any changes to this layer's heatmapRadius property.
785
803
  */
786
804
  heatmapRadiusTransition?: Transition;
787
805
  /**
@@ -796,7 +814,7 @@ export interface HeatmapLayerStyle {
796
814
  */
797
815
  heatmapIntensity?: Value<number, ["zoom"]>;
798
816
  /**
799
- * The transition affecting any changes to this layers heatmapIntensity
817
+ * The transition affecting any changes to this layer's heatmapIntensity
800
818
  * property.
801
819
  */
802
820
  heatmapIntensityTransition?: Transition;
@@ -810,10 +828,13 @@ export interface HeatmapLayerStyle {
810
828
  */
811
829
  heatmapOpacity?: Value<number, ["zoom"]>;
812
830
  /**
813
- * The transition affecting any changes to this layers heatmapOpacity property.
831
+ * The transition affecting any changes to this layer's heatmapOpacity property.
814
832
  */
815
833
  heatmapOpacityTransition?: Transition;
816
834
  }
835
+ /**
836
+ * @deprecated
837
+ */
817
838
  export interface FillExtrusionLayerStyle {
818
839
  /**
819
840
  * Whether this layer is displayed.
@@ -825,7 +846,7 @@ export interface FillExtrusionLayerStyle {
825
846
  */
826
847
  fillExtrusionOpacity?: Value<number, ["zoom"]>;
827
848
  /**
828
- * The transition affecting any changes to this layers fillExtrusionOpacity
849
+ * The transition affecting any changes to this layer's fillExtrusionOpacity
829
850
  * property.
830
851
  */
831
852
  fillExtrusionOpacityTransition?: Transition;
@@ -840,7 +861,7 @@ export interface FillExtrusionLayerStyle {
840
861
  */
841
862
  fillExtrusionColor?: Value<string, ["zoom", "feature", "feature-state"]>;
842
863
  /**
843
- * The transition affecting any changes to this layers fillExtrusionColor
864
+ * The transition affecting any changes to this layer's fillExtrusionColor
844
865
  * property.
845
866
  */
846
867
  fillExtrusionColorTransition?: Transition;
@@ -850,7 +871,7 @@ export interface FillExtrusionLayerStyle {
850
871
  */
851
872
  fillExtrusionTranslate?: Value<Translation, ["zoom"]>;
852
873
  /**
853
- * The transition affecting any changes to this layers fillExtrusionTranslate
874
+ * The transition affecting any changes to this layer's fillExtrusionTranslate
854
875
  * property.
855
876
  */
856
877
  fillExtrusionTranslateTransition?: Transition;
@@ -868,7 +889,7 @@ export interface FillExtrusionLayerStyle {
868
889
  */
869
890
  fillExtrusionPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
870
891
  /**
871
- * The transition affecting any changes to this layers fillExtrusionPattern
892
+ * The transition affecting any changes to this layer's fillExtrusionPattern
872
893
  * property.
873
894
  */
874
895
  fillExtrusionPatternTransition?: Transition;
@@ -877,7 +898,7 @@ export interface FillExtrusionLayerStyle {
877
898
  */
878
899
  fillExtrusionHeight?: Value<number, ["zoom", "feature", "feature-state"]>;
879
900
  /**
880
- * The transition affecting any changes to this layers fillExtrusionHeight
901
+ * The transition affecting any changes to this layer's fillExtrusionHeight
881
902
  * property.
882
903
  */
883
904
  fillExtrusionHeightTransition?: Transition;
@@ -889,7 +910,7 @@ export interface FillExtrusionLayerStyle {
889
910
  */
890
911
  fillExtrusionBase?: Value<number, ["zoom", "feature", "feature-state"]>;
891
912
  /**
892
- * The transition affecting any changes to this layers fillExtrusionBase
913
+ * The transition affecting any changes to this layer's fillExtrusionBase
893
914
  * property.
894
915
  */
895
916
  fillExtrusionBaseTransition?: Transition;
@@ -899,6 +920,9 @@ export interface FillExtrusionLayerStyle {
899
920
  */
900
921
  fillExtrusionVerticalGradient?: Value<boolean, ["zoom"]>;
901
922
  }
923
+ /**
924
+ * @deprecated
925
+ */
902
926
  export interface RasterLayerStyle {
903
927
  /**
904
928
  * Whether this layer is displayed.
@@ -909,7 +933,7 @@ export interface RasterLayerStyle {
909
933
  */
910
934
  rasterOpacity?: Value<number, ["zoom"]>;
911
935
  /**
912
- * The transition affecting any changes to this layers rasterOpacity property.
936
+ * The transition affecting any changes to this layer's rasterOpacity property.
913
937
  */
914
938
  rasterOpacityTransition?: Transition;
915
939
  /**
@@ -917,7 +941,7 @@ export interface RasterLayerStyle {
917
941
  */
918
942
  rasterHueRotate?: Value<number, ["zoom"]>;
919
943
  /**
920
- * The transition affecting any changes to this layers rasterHueRotate
944
+ * The transition affecting any changes to this layer's rasterHueRotate
921
945
  * property.
922
946
  */
923
947
  rasterHueRotateTransition?: Transition;
@@ -927,7 +951,7 @@ export interface RasterLayerStyle {
927
951
  */
928
952
  rasterBrightnessMin?: Value<number, ["zoom"]>;
929
953
  /**
930
- * The transition affecting any changes to this layers rasterBrightnessMin
954
+ * The transition affecting any changes to this layer's rasterBrightnessMin
931
955
  * property.
932
956
  */
933
957
  rasterBrightnessMinTransition?: Transition;
@@ -937,7 +961,7 @@ export interface RasterLayerStyle {
937
961
  */
938
962
  rasterBrightnessMax?: Value<number, ["zoom"]>;
939
963
  /**
940
- * The transition affecting any changes to this layers rasterBrightnessMax
964
+ * The transition affecting any changes to this layer's rasterBrightnessMax
941
965
  * property.
942
966
  */
943
967
  rasterBrightnessMaxTransition?: Transition;
@@ -946,7 +970,7 @@ export interface RasterLayerStyle {
946
970
  */
947
971
  rasterSaturation?: Value<number, ["zoom"]>;
948
972
  /**
949
- * The transition affecting any changes to this layers rasterSaturation
973
+ * The transition affecting any changes to this layer's rasterSaturation
950
974
  * property.
951
975
  */
952
976
  rasterSaturationTransition?: Transition;
@@ -955,7 +979,7 @@ export interface RasterLayerStyle {
955
979
  */
956
980
  rasterContrast?: Value<number, ["zoom"]>;
957
981
  /**
958
- * The transition affecting any changes to this layers rasterContrast property.
982
+ * The transition affecting any changes to this layer's rasterContrast property.
959
983
  */
960
984
  rasterContrastTransition?: Transition;
961
985
  /**
@@ -970,6 +994,9 @@ export interface RasterLayerStyle {
970
994
  */
971
995
  rasterFadeDuration?: Value<number, ["zoom"]>;
972
996
  }
997
+ /**
998
+ * @deprecated
999
+ */
973
1000
  export interface HillshadeLayerStyle {
974
1001
  /**
975
1002
  * Whether this layer is displayed.
@@ -992,7 +1019,7 @@ export interface HillshadeLayerStyle {
992
1019
  */
993
1020
  hillshadeExaggeration?: Value<number, ["zoom"]>;
994
1021
  /**
995
- * The transition affecting any changes to this layers hillshadeExaggeration
1022
+ * The transition affecting any changes to this layer's hillshadeExaggeration
996
1023
  * property.
997
1024
  */
998
1025
  hillshadeExaggerationTransition?: Transition;
@@ -1003,7 +1030,7 @@ export interface HillshadeLayerStyle {
1003
1030
  */
1004
1031
  hillshadeShadowColor?: Value<string, ["zoom"]>;
1005
1032
  /**
1006
- * The transition affecting any changes to this layers hillshadeShadowColor
1033
+ * The transition affecting any changes to this layer's hillshadeShadowColor
1007
1034
  * property.
1008
1035
  */
1009
1036
  hillshadeShadowColorTransition?: Transition;
@@ -1014,7 +1041,7 @@ export interface HillshadeLayerStyle {
1014
1041
  */
1015
1042
  hillshadeHighlightColor?: Value<string, ["zoom"]>;
1016
1043
  /**
1017
- * The transition affecting any changes to this layers hillshadeHighlightColor
1044
+ * The transition affecting any changes to this layer's hillshadeHighlightColor
1018
1045
  * property.
1019
1046
  */
1020
1047
  hillshadeHighlightColorTransition?: Transition;
@@ -1024,11 +1051,14 @@ export interface HillshadeLayerStyle {
1024
1051
  */
1025
1052
  hillshadeAccentColor?: Value<string, ["zoom"]>;
1026
1053
  /**
1027
- * The transition affecting any changes to this layers hillshadeAccentColor
1054
+ * The transition affecting any changes to this layer's hillshadeAccentColor
1028
1055
  * property.
1029
1056
  */
1030
1057
  hillshadeAccentColorTransition?: Transition;
1031
1058
  }
1059
+ /**
1060
+ * @deprecated
1061
+ */
1032
1062
  export interface BackgroundLayerStyle {
1033
1063
  /**
1034
1064
  * Whether this layer is displayed.
@@ -1041,7 +1071,7 @@ export interface BackgroundLayerStyle {
1041
1071
  */
1042
1072
  backgroundColor?: Value<string, ["zoom"]>;
1043
1073
  /**
1044
- * The transition affecting any changes to this layers backgroundColor
1074
+ * The transition affecting any changes to this layer's backgroundColor
1045
1075
  * property.
1046
1076
  */
1047
1077
  backgroundColorTransition?: Transition;
@@ -1053,7 +1083,7 @@ export interface BackgroundLayerStyle {
1053
1083
  */
1054
1084
  backgroundPattern?: Value<ResolvedImageType, ["zoom"]>;
1055
1085
  /**
1056
- * The transition affecting any changes to this layers backgroundPattern
1086
+ * The transition affecting any changes to this layer's backgroundPattern
1057
1087
  * property.
1058
1088
  */
1059
1089
  backgroundPatternTransition?: Transition;
@@ -1062,11 +1092,14 @@ export interface BackgroundLayerStyle {
1062
1092
  */
1063
1093
  backgroundOpacity?: Value<number, ["zoom"]>;
1064
1094
  /**
1065
- * The transition affecting any changes to this layers backgroundOpacity
1095
+ * The transition affecting any changes to this layer's backgroundOpacity
1066
1096
  * property.
1067
1097
  */
1068
1098
  backgroundOpacityTransition?: Transition;
1069
1099
  }
1100
+ /**
1101
+ * @deprecated
1102
+ */
1070
1103
  export interface LightLayerStyle {
1071
1104
  /**
1072
1105
  * Whether extruded geometries are lit relative to the map or viewport.
@@ -1084,7 +1117,7 @@ export interface LightLayerStyle {
1084
1117
  */
1085
1118
  position?: Value<number[], ["zoom"]>;
1086
1119
  /**
1087
- * The transition affecting any changes to this layers position property.
1120
+ * The transition affecting any changes to this layer's position property.
1088
1121
  */
1089
1122
  positionTransition?: Transition;
1090
1123
  /**
@@ -1092,7 +1125,7 @@ export interface LightLayerStyle {
1092
1125
  */
1093
1126
  color?: Value<string, ["zoom"]>;
1094
1127
  /**
1095
- * The transition affecting any changes to this layers color property.
1128
+ * The transition affecting any changes to this layer's color property.
1096
1129
  */
1097
1130
  colorTransition?: Transition;
1098
1131
  /**
@@ -1101,7 +1134,7 @@ export interface LightLayerStyle {
1101
1134
  */
1102
1135
  intensity?: Value<number, ["zoom"]>;
1103
1136
  /**
1104
- * The transition affecting any changes to this layers intensity property.
1137
+ * The transition affecting any changes to this layer's intensity property.
1105
1138
  */
1106
1139
  intensityTransition?: Transition;
1107
1140
  }