mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Sort tiles by zoom (#9504)
to make sure that low zoom tiles don't hide higher resolution tiles. This can be relevant in case of tile loading errors or around the coverage border of a tile service.
This commit is contained in:
committed by
GitHub
parent
6026d69672
commit
0a6cbf3ebc
@@ -208,7 +208,8 @@ export function rendererTileLayer(context) {
|
||||
.style(transformProp, imageTransform)
|
||||
.classed('tile-debug', showDebug)
|
||||
.classed('tile-removing', false)
|
||||
.classed('tile-center', function(d) { return d === nearCenter; });
|
||||
.classed('tile-center', function(d) { return d === nearCenter; })
|
||||
.sort((a, b) => a[2] - b[2]);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user