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
Describe the bug
So I have a usecase where the user can see a bunch of other user's live locations which keeps on updating every second. The issue is that when I have more than (n) users like 100, the maps page starts lagging with updates. I was able to recreate this in a barebones flutter app as well using the package. Looking at the debugger performance logs I can see that update#map is getting called in parallel multiple times. To Reproduce
Steps to reproduce the behavior:
Make a recursive update map function that updates the annotations every seconds with different lattitue and longitude.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
This screenshot is an initial screenshot when first few markers are updated.
This is after few more updates. There were almost 50+ calls to update#map.
Smartphone (please complete the following information):
Device: Iphone 15
Version 17
flutter doctor
Please add the flutter doctor output.
The text was updated successfully, but these errors were encountered:
Describe the bug
So I have a usecase where the user can see a bunch of other user's live locations which keeps on updating every second. The issue is that when I have more than (n) users like 100, the maps page starts lagging with updates. I was able to recreate this in a barebones flutter app as well using the package. Looking at the debugger performance logs I can see that
update#map
is getting called in parallel multiple times.To Reproduce
Steps to reproduce the behavior:
Make a recursive update map function that updates the annotations every seconds with different lattitue and longitude.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
![Screenshot_2024-06-16_at_4 05 31_PM](https://private-user-images.githubusercontent.com/35425489/340174831-ddd001f0-0b6c-4d74-a7bb-f7905e27f3a2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0OTM1NTEsIm5iZiI6MTczOTQ5MzI1MSwicGF0aCI6Ii8zNTQyNTQ4OS8zNDAxNzQ4MzEtZGRkMDAxZjAtMGI2Yy00ZDc0LWE3YmItZjc5MDVlMjdmM2EyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09E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A7_egYCULhDfY65pbk)
This screenshot is an initial screenshot when first few markers are updated.
This is after few more updates. There were almost 50+ calls to update#map.
Smartphone (please complete the following information):
flutter doctor
Please add the
flutter doctor
output.The text was updated successfully, but these errors were encountered: