-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
objects rendered with wrong z order #17835
objects rendered with wrong z order #17835
Comments
It seems to be more difficult than I thought. The proposed simple change only works for render engine 2. With engine 1 and wetland order=4 or 5 the wetland polygon gets hidden behind the water polygon. 😬 |
rendering engine v1 is out of support for such complex issues, so it's relevant to be honest. On iOS version v1 was never supported |
Is the render.xml file actually updated when the app gets updated via the app store? |
The |
Commit is attached osmandapp/OsmAnd-resources@8cc445a |
I meant, in line https://github.com/osmandapp/OsmAnd-resources/blob/master/rendering_styles/nautical.render.xml#L491 the |
OsmAnd~ 4.6.0#710m, released: 2023-09-01
|
This is because of sorting by area. Nothing to do in rendering style. |
It does have to do with the rendering style, because the order is defined there. Transparent areas like |
Some |
Adding |
Description
Seamarks and maybe other objects are drawn with wrong z order such that certain feature get hidden under other features. In the example below at https://osmand.net/map#16/53.4600/6.1658 some fairways (light green) and cable area (transparent red with dotted outline) are partially hidden below tidal flats (wetlands). The are only (slightly) visible because the wetland area is not fully opaque.
(Also when using an underlay with 'show polygons' disabled I would like the wetland polygons to be hidden.)
How to reproduce
Look at https://osmand.net/map#16/53.4600/6.1658 in the boating profile (nautical map style)
Actual result
Features hidden below wetland area.
Expected result
Wetland area should be in the background.
Environment
OsmAnd Version: 4.5.9
Android version: 13
Device model: Nokia X20
The text was updated successfully, but these errors were encountered: