A versatile mapping package for Flutter. Simple and easy to learn, yet completely customizable and configurable, it's the best choice for mapping in your Flutter app.
Also added refreshing of reset listener when reset stream changes within widget lifecycle.
Fixes #1808. However, the behaviour is still not correct, because the tile loading logic is incorrect. This looks like #1813:
If the urlTemplate does not change, tiles are evicted but not loaded until the map is moved (and possibly the tiles are not evicted correctly because they appear to reload quickly, so maybe from cache, but reset should empty cache)
If the urlTemplate does change, tiles are evicted but then instantly reloaded (see above), and new tiles load in gradually replacing/overlaying the old ones - the old tiles should not become visible in-between
Also added refreshing of reset listener when reset stream changes within widget lifecycle.
Fixes #1808. However, the behaviour is still not correct, because the tile loading logic is incorrect. This looks like #1813:
urlTemplate
does not change, tiles are evicted but not loaded until the map is moved (and possibly the tiles are not evicted correctly because they appear to reload quickly, so maybe from cache, butreset
should empty cache)urlTemplate
does change, tiles are evicted but then instantly reloaded (see above), and new tiles load in gradually replacing/overlaying the old ones - the old tiles should not become visible in-betweenTherefore, this will need a follow up PR.