-
-
Notifications
You must be signed in to change notification settings - Fork 863
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
[FEATURE] Add Option To Preload Tiles In An Area #1979
Comments
This has been reported elsewhere, and it's also something I'm beginning to notice. I think this needs investigating. An extension to this would be to preload tiles along an animation curve (maybe @TesteurManiak ?). |
I’d be glad to help! 😄 |
Yep, wasn't suggesting animations might help, but if this feature were implemented (seperate to looking into why tile loading is slow), I'm sure it could be used in animations to make them look better 👍 |
There is an issue with tile loading, basically, if no move event happens after a quick zoom, then tiles of a higher zoom level stay active for some reason and do not render the lower tiles even though they are apparently? loaded in |
What do you want implemented?
Very similar to #1337 (comment), when passed a centre latlng and zoom level, the tiles are preloaded before the FlutterMap is created and rendered, with some form of flag when preloading is complete. This would thereby instantly show a fully rendered map (excluding any issues) once loading is complete.
I feel part of this issue is due to where I'm fairly confident flutter_map 7.0.2 is displaying tiles slower than flutter_map 5.0.0. See code below. Any advice on how to improve this would be great, please let me know.
flutter_map 5.0.0
Code
Dependencies
flutter_map: ^5.0.0
flutter_map_marker_cluster: ^1.2.0
flutter_map_location_marker: ^7.0.2
url_launcher: ^6.3.0
http: ^1.1.0
flutter_map 7.02
Code
**Dependencies** flutter_map: ^7.0.2 flutter_map_cancellable_tile_provider: ^3.0.2 flutter_map_marker_cluster_2: ^1.0.4 flutter_map_location_marker: ^9.1.1 url_launcher: ^6.3.0 http: ^1.1.0What other alternatives are available?
No response
Can you provide any other information?
No response
Severity
Annoying: Currently have to use workarounds
The text was updated successfully, but these errors were encountered: