Closed davidoesch closed 5 years ago
same issue as #4739 ?
seems that order of layers is different than specified in the style?
that's a separate issue. It's caused by the fact that we make two layer groups in OpenLayers for each sources (OSM and Swisstopo), and those sources are managed separately for declutering and ordering.
As we can't juridically merge the two sources in the style, the only way to solve this would be to programmatically merge the two sources with a custom OL loader (as proposed on this PR https://github.com/geoadmin/mf-geoadmin3/pull/4523). I'll give it a try when bigger issues are fixed.
Now that OSM cut is good with labels (no more labels over Switzerland), we should have OSM labels over our data (but beneath our labels) in the style JSON. Is that OK with you @swissgis3084 ?
We will take this into the project steering group
where can I see it? currently I can see this: (https://test.map.geo.admin.ch) Not sure if these kind of Problems can ever be solved, if OpenLayers creates seperate layer groups for OSM and swisstopo data
this happens because layers are ordered this way in our style :
If we can place OSM labels after our data, foreign labels would be on top of lakes and such features.
open https://s.geo.admin.ch/7fdf489857
on win10 chrome
expected: country border is behind text