web-mapviewer
web-mapviewer copied to clipboard
PB-912 Fix language of background layer attribution
(the reason I am doing this was because I fixed something small when nobody else was around, this is like the extension of that) Some notes on the fix: the backgroundLayer was copied inside the store. When one changes the language, the attributions would therefore not be updated. One solution would be to listen to language changes and trigger the update (see first commit), but IMO this would diffuse the responsibility of the data further. So I changed the store a bit so the currentLayer comes through a getter, streamlining the data flow.
web-mapviewer
Run #3440
Run Properties:
Passed #3440 •
0f04cff899: PB-912 Refactor map attribution for language updating
| Project |
web-mapviewer
|
| Branch Review |
feat-pb-912-swisstopo-source
|
| Run status |
|
| Run duration | 05m 21s |
| Commit |
|
| Committer | Stefan Heinemann |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
21
|
|
|
0
|
|
|
211
|
| View all changes introduced in this branch ↗︎ | |