Commit ad7ef70
Fix number property generation in featureset feature template (#11851)
https://mapbox.atlassian.net/browse/MAPSAND-2672
## Summary
- Fix `featureset_feature.kt.ejs` template: for `number`-typed
featureset properties, emit `getNumberProperty(...)?.toDouble()` /
`?.toLong()` instead of the non-existent `getDoubleProperty()` /
`getLongProperty()` (which don't exist on `com.mapbox.geojson.Feature`)
- Generated files updated by running `generate-all` and `update-api`
cc @mapbox/maps-ios
cc @mapbox/maps-android
cc @mapbox/sdk-platform
cc @mapbox/nav-core-sdk
---------
Co-authored-by: Changelog autocreator bot <github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: a3df82c813e92c8171f3718c787dcba4a2fbf77d1 parent 6660a9f commit ad7ef70
File tree
5 files changed
+19
-2
lines changed- plugin-annotation/api/Release
- sdk-base
- api
- Release
- src/main/java/com/mapbox/maps/interactions/standard/generated
5 files changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
| 510 | + | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| |||
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
679 | | - | |
| 679 | + | |
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
| 881 | + | |
| 882 | + | |
881 | 883 | | |
| 884 | + | |
| 885 | + | |
882 | 886 | | |
883 | 887 | | |
884 | 888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| 877 | + | |
| 878 | + | |
877 | 879 | | |
878 | 880 | | |
879 | 881 | | |
| |||
sdk-base/src/main/java/com/mapbox/maps/interactions/standard/generated/StandardBuildingsFeature.kt
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments