-
Notifications
You must be signed in to change notification settings - Fork 98
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
Only last map built is usable when there are multiple instances #54
Comments
Same issue |
@LjubiTech-Maxko thanks for the report, looking into this one. |
@yunikkk I tried to do some debuggin and the thing that caught my attention is the documentation for
Is it possible that the creation of the new map instances and setup of channels overrides the previous one because of the same name? |
Is there a known ETA? This issue is currently blocking our release :( |
@yunikkk After some tests with assigning different ids at the end of the name for basic message channel i can confirm that this is in fact the issue. |
Hey @LjubiTech-Maxko, thanks for checking, I had the same suspicion that the id's for PlatformChannels should be the issue. Fix should be straightforward, I'll post updates here. |
any updates? :D |
The work on this bug is in progress, I'll share updates as soon as it'll be ready :) |
Thanks a lot!
|
When creating multiple map instances all map controllers are working with the data from the map which was created last. The issue can be observed with the following reproduction code.
Copy the code to main.dart file and run the app.
Steps to reproduce:
And then go to the first or the second map and click again the blue rectangle to get the CameraState and it will be the state from the map which was created last. This is happening with every action that can be done on the map.
The text was updated successfully, but these errors were encountered: