Commit a82c7a5
AnnotationManagerImpl cleanup images on delete follow-up (#11751)
Follow-up of PR mapbox/mapbox-sdk#11010
https://mapbox.atlassian.net/browse/MAPSAND-2671
## Summary
- Extracts the repeated icon image ID generation expression
(`ICON_DEFAULT_NAME_PREFIX + manager.hashCode().toString(16) + "_" +
bitmap.hashCode()`) into `PointAnnotation.iconImageId(manager, bitmap)`
in the companion object
- Renames internal `StyleImages` → `PointAnnotationStyleImages` for
clarity and adds KDoc to the class and its methods
cc @mapbox/maps-android
cc @mapbox/maps-ios
GitOrigin-RevId: eafd0fcacea28f34ff54da7490eb5d2ca9ab52e11 parent ad7ef70 commit a82c7a5
File tree
5 files changed
+67
-18
lines changed- plugin-annotation/src
- main/java/com/mapbox/maps/plugin/annotation
- generated
- test/java/com/mapbox/maps/plugin/annotation
- generated
5 files changed
+67
-18
lines changedLines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
998 | 998 | | |
999 | 999 | | |
1000 | 1000 | | |
1001 | | - | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
1002 | 1010 | | |
| 1011 | + | |
1003 | 1012 | | |
1004 | 1013 | | |
1005 | 1014 | | |
1006 | 1015 | | |
1007 | 1016 | | |
1008 | | - | |
1009 | 1017 | | |
1010 | 1018 | | |
1011 | 1019 | | |
1012 | 1020 | | |
| 1021 | + | |
1013 | 1022 | | |
1014 | 1023 | | |
1015 | 1024 | | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1016 | 1029 | | |
1017 | 1030 | | |
1018 | 1031 | | |
| |||
1027 | 1040 | | |
1028 | 1041 | | |
1029 | 1042 | | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1030 | 1047 | | |
1031 | 1048 | | |
1032 | 1049 | | |
| |||
Lines changed: 23 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments