-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order of initialization of annotation managers matters! #863
Comments
This is an interesting case, thanks for the report @androideveloper. Because we are using There seem to be 2 ways of resolving this:
Will update this ticket with progress, if we find any of above viable. |
@LukasPaczos Thanks for the update! I will keep it as the last created manager until this is resolved. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
We should re-open this, since recent reports on Stack Overflow indicate that developers are still encountering the issue. |
We're also encountering this in the mapbox_gl flutter plugin (tracked at flutter-mapbox-gl/maps#130). This is kind of significant, as it means that we can only have one draggable annotation type. |
@adrianababakanian @LukasPaczos Sorry for spamming, but do you know if this is being worked on? Otherwise we'd have to find some workaround for the mapbox_gl flutter plugin to support draggable annotations. |
Hello. Has there been a workaround for this? My application stops registering drag events after setting |
I have found a weird bug! When you initialize symbol manager and the circle manager, your symbol can't be dragged! If you change the order of initialization it works!
Steps to reproduce
Demo https://www.dropbox.com/s/ympu7zg722vehty/MapboxSymbolDragDemo.zip?dl=0
Try to change order of initialization:
symbolManager = SymbolManager(mapView, mapboxMap, style)
circleManager = CircleManager(mapView, mapboxMap, style)
Expected behavior
Symbol should be draggable in any case
Actual behavior
Symbol is draggable only, if circle manager initialized first
Configuration
Android versions: 9.0
Device models: Xiaomi mi 2 lite
Mapbox SDK versions: 7.2.0, plugin-annotation-v7:0.5.0
The text was updated successfully, but these errors were encountered: