-
-
Notifications
You must be signed in to change notification settings - Fork 769
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Wrong layers order, depends on zoom level (starting in v5.0.0) #5297
Comments
Is it possible to create a minimal reproduction in terms of the minimal amount of layers? |
|
I mean a reproduction that has like 4-5 layers without the maptiler style at all if possible. Feel free to try and see if you can narrow down to the PR that created this issue, maybe we could better understand what might have caused this. |
jsbin which reproduces the issue with the originally provided style: I wasn't able to reproduce it with other off-the-shelf styles e.g. example: https://jsbin.com/huyarum/edit?html,output |
Re narrow-down to the PR which caused it: |
I apologize for the confusion, wasn't aware the style may also contain As I understand, mapTiler styles may include Also, what's the best approach to get this style to behave correctly? The only solution I can think of is to change my app to:
Is my understanding correct? |
I'm not sure, where is the style coming from? Can't you simply edit the style? |
|
Yes, if the someone would like to color only multipolygons the above replacement won't work. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
maplibre-gl-js version: 5.0.0
maplibre-gl-js version where issue doesn't exist: 4.7.1
browser:
Chrome Version 131.0.6778.205 (Official Build) (arm64) on macos
Safari Version 18.2 (20620.1.16.11.8)
Firefox 131.0.3 (aarch64) + 133.0.3 (aarch64)
Steps to Trigger Behavior
https://viewer-qa1.test.mapme.com/0684b9d9-9449-42f7-bb7d-f230b631f282
Chicago-1
andChicago-2
.Each location is associated with a different zoom level: 15 and 17 accordingly.
Chicago-1
, the map shows:Chicago-2
, the map shows:Expected Behavior
Actual Behavior
In more detail, the upper-left part of the screenshot (item 4 above) shows the unexpected behavior persists even when the map zoom is above 17.
Meaning, zooming in in some cases helps, however doesn't always "fix" the layers order for some tiles.
Link to Demonstration
https://viewer-qa1.test.mapme.com/0684b9d9-9449-42f7-bb7d-f230b631f282
Note:
This is a temporary url to mapme's testing environment.
It will show the issue for the next days following the creation of this ticket.
If access is required at a later point, pls sync with me at [email protected] (also Slack handle)
Style:
https://api.maptiler.com/maps/0bdca22c-7a7c-4d7f-8eb6-3e7a21469305/style.json?key=iH0qvXB6CpZUVu9oKlXL
Developers may use it for debug. This style will be terminated when no longer needed.
Console error
(possibly related)
The text was updated successfully, but these errors were encountered: