Skip to content

Commit 299d646

Browse files
pjleonard37github-actions[bot]
authored andcommitted
MAPSSDK-932 fix generation of GeoJSONSource.minzoom property (#8382)
We previously added the `GeoJSONSource.minZoom` property for iOS and Android. This PR updates that generation to align with `maxzoom` and other GeoJSONOptions properties. Specifically: - Getting `minzoom` is currently disabled at the native level. This PR updates geojson_options to enable getting `minzoom`. - Like other GeoJSONOptions properties, `minzoom` can only be set when the source is created. This PR updates the generator to reflect this and removes separate set methods. GitOrigin-RevId: 35b4df8c0b881d90bd3e65b656b2b13dee3f09cb
1 parent d7a71be commit 299d646

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

Sources/MapboxMaps/Style/Generated/Sources/GeoJSONSource.swift

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/MapboxMapsTests/Style/Generated/Sources/GeoJSONSourceTests.swift

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/api-compatibility-check/breakage_allowlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2239,3 +2239,4 @@ Func MapStyle.standard(theme:lightPreset:font:showPointOfInterestLabels:showTran
22392239
Func MapStyle.standard(theme:lightPreset:font:showPointOfInterestLabels:showTransitLabels:showPlaceLabels:showRoadLabels:showPedestrianRoads:show3dObjects:backgroundPointOfInterestLabels:colorAdminBoundaries:colorBuildingHighlight:colorBuildingSelect:colorGreenspace:colorModePointOfInterestLabels:colorMotorways:colorPlaceLabelHighlight:colorPlaceLabels:colorPlaceLabelSelect:colorPointOfInterestLabels:colorRoadLabels:colorRoads:colorTrunks:colorWater:densityPointOfInterestLabels:fuelingStationModePointOfInterestLabels:roadsBrightness:showAdminBoundaries:showLandmarkIconLabels:showLandmarkIcons:themeData:) has parameter 28 type change from Swift.Bool? to MapboxMaps.StyleColor?
22402240
Func MapStyle.standard(theme:lightPreset:font:showPointOfInterestLabels:showTransitLabels:showPlaceLabels:showRoadLabels:showPedestrianRoads:show3dObjects:backgroundPointOfInterestLabels:colorAdminBoundaries:colorBuildingHighlight:colorBuildingSelect:colorGreenspace:colorModePointOfInterestLabels:colorMotorways:colorPlaceLabelHighlight:colorPlaceLabels:colorPlaceLabelSelect:colorPointOfInterestLabels:colorRoadLabels:colorRoads:colorTrunks:colorWater:densityPointOfInterestLabels:fuelingStationModePointOfInterestLabels:roadsBrightness:showAdminBoundaries:showLandmarkIconLabels:showLandmarkIcons:themeData:) has parameter 29 type change from Swift.Bool? to MapboxMaps.StyleColor?
22412241
Func MapStyle.standard(theme:lightPreset:font:showPointOfInterestLabels:showTransitLabels:showPlaceLabels:showRoadLabels:showPedestrianRoads:show3dObjects:backgroundPointOfInterestLabels:colorAdminBoundaries:colorBuildingHighlight:colorBuildingSelect:colorGreenspace:colorModePointOfInterestLabels:colorMotorways:colorPlaceLabelHighlight:colorPlaceLabels:colorPlaceLabelSelect:colorPointOfInterestLabels:colorRoadLabels:colorRoads:colorTrunks:colorWater:densityPointOfInterestLabels:fuelingStationModePointOfInterestLabels:roadsBrightness:showAdminBoundaries:showLandmarkIconLabels:showLandmarkIcons:themeData:) has parameter 30 type change from Swift.String? to MapboxMaps.StyleColor?
2242+
Func GeoJSONSource.minzoom(_:) has been removed

0 commit comments

Comments
 (0)