You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The order in which objects are stored in MapObjectManager.Collection and subclasses is random. It is hard to compare the data stored here with other data sources for marker, polygon, etc.
Expected behavior
Storing data in a LinkedHashSet instead of a HashSet would keep the stored objects in the same order they were inserted
Observed Behavior
I have to create my own MapObjectManager, MarkerManager, etc to implement dragging Markers that also update a corresponding polygon.
Environment details
Device make and model, or emulator details - Default Android 11 Emulator, Pixel 3, Samsung Tab 8
Android version - Android 8-11 at least, haven't tried other versions
Library version and other environment information - 2.0.3 and previous versions back to 1.5
The text was updated successfully, but these errors were encountered:
solcott
added
triage me
I really want to be triaged.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
labels
Aug 5, 2020
* chore(deps): bump play-services-base from 17.2.1 to 17.6.0 (#846)
Bumps play-services-base from 17.2.1 to 17.6.0.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Use LinkHashSet to maintain set order
Closes#772
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Summary
The order in which objects are stored in MapObjectManager.Collection and subclasses is random. It is hard to compare the data stored here with other data sources for marker, polygon, etc.
Expected behavior
Storing data in a LinkedHashSet instead of a HashSet would keep the stored objects in the same order they were inserted
Observed Behavior
I have to create my own MapObjectManager, MarkerManager, etc to implement dragging Markers that also update a corresponding polygon.
Environment details
The text was updated successfully, but these errors were encountered: