-
Notifications
You must be signed in to change notification settings - Fork 51
front: map: factorize sources #11172
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #11172 +/- ##
==========================================
- Coverage 80.88% 80.87% -0.01%
==========================================
Files 1119 1120 +1
Lines 112833 112823 -10
Branches 759 759
==========================================
- Hits 91261 91250 -11
- Misses 21517 21518 +1
Partials 55 55
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
686a892
to
e17cac9
Compare
This avoids requesting multiple times the same data on the network Signed-off-by: Tristram Gräbener <[email protected]>
Signed-off-by: Tristram Gräbener <[email protected]>
e17cac9
to
bc407d3
Compare
Signed-off-by: Tristram Gräbener <[email protected]>
bc407d3
to
12e50be
Compare
Code lgtm ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This pull requests separates the map Sources from the Layers. This allows having only one data source if it is used in multiple layers.
There should be no visible change on the map (try adding layers such as OSM Tracks, plateforms, activate terrain…).
In the network console we should notice that there no longer are call multiple times to the same data source
Fixes #11106