Commit e8f95c6
[Backport release/v0.17] MAPSSDK-932 fix generation of GeoJSONSource.minzoom property (#8382) (#8520)
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.
(cherry picked from commit 35b4df8c0b881d90bd3e65b656b2b13dee3f09cb)
cc @mapbox/maps-ios
cc @mapbox/gl-native
cc @mapbox/maps-android
cc @mapbox/sdk-ci
---------
Co-authored-by: Changelog autocreator bot <[email protected]>
Co-authored-by: zmiao <[email protected]>
GitOrigin-RevId: 708f3fda96a882c4ccd9e64140e5c5f64230ce5b1 parent db519f7 commit e8f95c6
File tree
5 files changed
+0
-32
lines changed- extension-style-app/src/androidTest/java/com/mapbox/maps/testapp/style/sources/generated
- extension-style
- api
- Release
- src
- main/java/com/mapbox/maps/extension/style/sources/generated
- test/java/com/mapbox/maps/extension/style/sources/generated
5 files changed
+0
-32
lines changedLines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7654 | 7654 | | |
7655 | 7655 | | |
7656 | 7656 | | |
7657 | | - | |
7658 | 7657 | | |
7659 | 7658 | | |
7660 | 7659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6423 | 6423 | | |
6424 | 6424 | | |
6425 | 6425 | | |
6426 | | - | |
6427 | | - | |
6428 | 6426 | | |
6429 | 6427 | | |
6430 | 6428 | | |
| |||
Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments