Skip to content
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

front: Avoid glitches on ref map when switching theme #5804

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Conversation

sim51
Copy link
Contributor

@sim51 sim51 commented Nov 22, 2023

Close #5777

Maplibre bad handles the changes of layout style, which leads to somes visual glitches on the map.
Solution for now is to full reload the OSM.

I updated version of react-map-gl & maplibre to their latest version

Close #5777

Maplibre bad handles the changes of layout style, which leads to somes
visualglitches on the map. Solution for now is to full reload the OSM.
@sim51 sim51 requested a review from a team as a code owner November 22, 2023 15:43
Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (c891d65) 19.52% compared to head (148cbd3) 19.61%.
Report is 22 commits behind head on dev.

Files Patch % Lines
front/src/common/Map/Layers/OSM.tsx 0.00% 11 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #5804      +/-   ##
============================================
+ Coverage     19.52%   19.61%   +0.08%     
  Complexity     2332     2332              
============================================
  Files           907      907              
  Lines        107033   107658     +625     
  Branches       2593     2623      +30     
============================================
+ Hits          20903    21114     +211     
- Misses        84604    84988     +384     
- Partials       1526     1556      +30     
Flag Coverage Δ
front 8.58% <0.00%> (+0.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm. Tested and it does the job for now good job !
Thank you for updating the libs.

@sim51 sim51 added this pull request to the merge queue Nov 23, 2023
Merged via the queue into dev with commit 48184c6 Nov 23, 2023
@sim51 sim51 deleted the bsi/issue-5777 branch November 23, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing theme causes map rendering problems
3 participants