mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 00:29:50 +02:00
Don't list non-global imagery sources at low zooms (close #7062)
Always show the currently selected background in the list (close #7061)
This commit is contained in:
@@ -121,7 +121,7 @@ export function uiBackground(context) {
|
||||
|
||||
function drawListItems(layerList, type, change, filter) {
|
||||
var sources = context.background()
|
||||
.sources(context.map().extent())
|
||||
.sources(context.map().extent(), context.map().zoom(), true)
|
||||
.filter(filter);
|
||||
|
||||
var layerLinks = layerList.selectAll('li')
|
||||
|
||||
Reference in New Issue
Block a user