mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
button works well with .gpx
This commit is contained in:
@@ -278,9 +278,9 @@ export function uiMapData(context) {
|
||||
}
|
||||
|
||||
function drawMvtItem(selection) {
|
||||
var mvt = layers.layer('gpx'),
|
||||
var mvt = layers.layer('mvt'),
|
||||
hasMvt = mvt && mvt.hasGpx(),
|
||||
showsMvt = hasMvt && gpx.enabled();
|
||||
showsMvt = hasMvt && mvt.enabled();
|
||||
|
||||
var ul = selection
|
||||
.selectAll('.layer-list-mvt')
|
||||
|
||||
Reference in New Issue
Block a user