Skip to content

Commit bdf11f0

Browse files
pjleonard37github-actions[bot]
authored andcommitted
Remove colorSnow configuration parameter (#8642)
Standard v5 did not include the `colorSnow` parameter as expected, so we need to remove it from the generated types. GitOrigin-RevId: 295e95dcfb28260529cdfb53262172bd2174bb56
1 parent ce91b2c commit bdf11f0

File tree

5 files changed

+1
-17
lines changed

5 files changed

+1
-17
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Mapbox welcomes participation and contributions from everyone.
1010
* Remove line-cutout-width and change line-cutout-opacity default to 1.0
1111

1212
## Features ✨ and improvements 🏁
13-
* Add Standard Style color and 3D configuration options: `colorBuildings`, `colorCommercial`, `colorEducation`, `colorIndustrial`, `colorLand`, `colorMedical`, `colorSnow`, `show3dBuildings`, `show3dFacades`, `show3dLandmarks`, and `show3dTrees`.
13+
* Add Standard Style color and 3D configuration options: `colorBuildings`, `colorCommercial`, `colorEducation`, `colorIndustrial`, `colorLand`, `colorMedical`, `show3dBuildings`, `show3dFacades`, `show3dLandmarks`, and `show3dTrees`.
1414
* Introduce experimental `AttributionControl` composable function that exposes `AttributionState` programmatically, enabling developers to build custom Attribution UI outside of the map while maintaining compliance with [Mapbox ToS](https://www.mapbox.com/legal/tos) requirements.
1515

1616
# 11.17.0 December 04, 2025

extension-compose/api/Release/metalava.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5357,7 +5357,6 @@ package com.mapbox.maps.extension.compose.style.standard {
53575357
method public com.mapbox.maps.extension.compose.style.ColorValue getColorPointOfInterestLabels();
53585358
method public com.mapbox.maps.extension.compose.style.ColorValue getColorRoadLabels();
53595359
method public com.mapbox.maps.extension.compose.style.ColorValue getColorRoads();
5360-
method public com.mapbox.maps.extension.compose.style.ColorValue getColorSnow();
53615360
method public com.mapbox.maps.extension.compose.style.ColorValue getColorTrunks();
53625361
method public com.mapbox.maps.extension.compose.style.ColorValue getColorWater();
53635362
method public com.mapbox.maps.extension.compose.style.DoubleValue getDensityPointOfInterestLabels();
@@ -5393,7 +5392,6 @@ package com.mapbox.maps.extension.compose.style.standard {
53935392
method public void setColorPointOfInterestLabels(com.mapbox.maps.extension.compose.style.ColorValue);
53945393
method public void setColorRoadLabels(com.mapbox.maps.extension.compose.style.ColorValue);
53955394
method public void setColorRoads(com.mapbox.maps.extension.compose.style.ColorValue);
5396-
method public void setColorSnow(com.mapbox.maps.extension.compose.style.ColorValue);
53975395
method public void setColorTrunks(com.mapbox.maps.extension.compose.style.ColorValue);
53985396
method public void setColorWater(com.mapbox.maps.extension.compose.style.ColorValue);
53995397
method public void setDensityPointOfInterestLabels(com.mapbox.maps.extension.compose.style.DoubleValue);
@@ -5429,7 +5427,6 @@ package com.mapbox.maps.extension.compose.style.standard {
54295427
property public final com.mapbox.maps.extension.compose.style.ColorValue colorPointOfInterestLabels;
54305428
property public final com.mapbox.maps.extension.compose.style.ColorValue colorRoadLabels;
54315429
property public final com.mapbox.maps.extension.compose.style.ColorValue colorRoads;
5432-
property public final com.mapbox.maps.extension.compose.style.ColorValue colorSnow;
54335430
property public final com.mapbox.maps.extension.compose.style.ColorValue colorTrunks;
54345431
property public final com.mapbox.maps.extension.compose.style.ColorValue colorWater;
54355432
property public final com.mapbox.maps.extension.compose.style.DoubleValue densityPointOfInterestLabels;

extension-compose/api/extension-compose.api

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4540,7 +4540,6 @@ public final class com/mapbox/maps/extension/compose/style/standard/StandardStyl
45404540
public final fun getColorPointOfInterestLabels ()Lcom/mapbox/maps/extension/compose/style/ColorValue;
45414541
public final fun getColorRoadLabels ()Lcom/mapbox/maps/extension/compose/style/ColorValue;
45424542
public final fun getColorRoads ()Lcom/mapbox/maps/extension/compose/style/ColorValue;
4543-
public final fun getColorSnow ()Lcom/mapbox/maps/extension/compose/style/ColorValue;
45444543
public final fun getColorTrunks ()Lcom/mapbox/maps/extension/compose/style/ColorValue;
45454544
public final fun getColorWater ()Lcom/mapbox/maps/extension/compose/style/ColorValue;
45464545
public final fun getDensityPointOfInterestLabels ()Lcom/mapbox/maps/extension/compose/style/DoubleValue;
@@ -4576,7 +4575,6 @@ public final class com/mapbox/maps/extension/compose/style/standard/StandardStyl
45764575
public final fun setColorPointOfInterestLabels (Lcom/mapbox/maps/extension/compose/style/ColorValue;)V
45774576
public final fun setColorRoadLabels (Lcom/mapbox/maps/extension/compose/style/ColorValue;)V
45784577
public final fun setColorRoads (Lcom/mapbox/maps/extension/compose/style/ColorValue;)V
4579-
public final fun setColorSnow (Lcom/mapbox/maps/extension/compose/style/ColorValue;)V
45804578
public final fun setColorTrunks (Lcom/mapbox/maps/extension/compose/style/ColorValue;)V
45814579
public final fun setColorWater (Lcom/mapbox/maps/extension/compose/style/ColorValue;)V
45824580
public final fun setDensityPointOfInterestLabels (Lcom/mapbox/maps/extension/compose/style/DoubleValue;)V

extension-compose/src/main/java/com/mapbox/maps/extension/compose/style/standard/MapboxStandardStyle.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,6 @@ public fun MapboxStandardStyle(
267267
if (colorRoads.isNotInitial()) {
268268
config(StandardStyleConfigurationState.CONFIG_COLOR_ROADS, colorRoads.value)
269269
}
270-
if (colorSnow.isNotInitial()) {
271-
config(StandardStyleConfigurationState.CONFIG_COLOR_SNOW, colorSnow.value)
272-
}
273270
if (colorTrunks.isNotInitial()) {
274271
config(StandardStyleConfigurationState.CONFIG_COLOR_TRUNKS, colorTrunks.value)
275272
}

extension-compose/src/main/java/com/mapbox/maps/extension/compose/style/standard/StandardStyleConfigurationState.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public class StandardStyleConfigurationState private constructor(
3838
initialColorPointOfInterestLabels: ColorValue,
3939
initialColorRoadLabels: ColorValue,
4040
initialColorRoads: ColorValue,
41-
initialColorSnow: ColorValue,
4241
initialColorTrunks: ColorValue,
4342
initialColorWater: ColorValue,
4443
initialDensityPointOfInterestLabels: DoubleValue,
@@ -80,7 +79,6 @@ public class StandardStyleConfigurationState private constructor(
8079
initialColorPointOfInterestLabels = ColorValue.INITIAL,
8180
initialColorRoadLabels = ColorValue.INITIAL,
8281
initialColorRoads = ColorValue.INITIAL,
83-
initialColorSnow = ColorValue.INITIAL,
8482
initialColorTrunks = ColorValue.INITIAL,
8583
initialColorWater = ColorValue.INITIAL,
8684
initialDensityPointOfInterestLabels = DoubleValue.INITIAL,
@@ -206,11 +204,6 @@ public class StandardStyleConfigurationState private constructor(
206204
*/
207205
public var colorRoads: ColorValue by mutableStateOf(initialColorRoads)
208206

209-
/**
210-
* Set a custom color for snow.
211-
*/
212-
public var colorSnow: ColorValue by mutableStateOf(initialColorSnow)
213-
214207
/**
215208
* Set a custom color for trunk roads.
216209
*/
@@ -305,7 +298,6 @@ public class StandardStyleConfigurationState private constructor(
305298
internal const val CONFIG_COLOR_POINT_OF_INTEREST_LABELS = "colorPointOfInterestLabels"
306299
internal const val CONFIG_COLOR_ROAD_LABELS = "colorRoadLabels"
307300
internal const val CONFIG_COLOR_ROADS = "colorRoads"
308-
internal const val CONFIG_COLOR_SNOW = "colorSnow"
309301
internal const val CONFIG_COLOR_TRUNKS = "colorTrunks"
310302
internal const val CONFIG_COLOR_WATER = "colorWater"
311303
internal const val CONFIG_DENSITY_POINT_OF_INTEREST_LABELS = "densityPointOfInterestLabels"

0 commit comments

Comments
 (0)