mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 00:07:03 +02:00
Use imagery ids instead of names, update blacklist, npm run imagery
This commit is contained in:
@@ -47,7 +47,7 @@ export function rendererBackgroundSource(data) {
|
||||
|
||||
|
||||
source.imageryUsed = function() {
|
||||
return source.id || name;
|
||||
return name || source.id;
|
||||
};
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ export function rendererBackgroundSource(data) {
|
||||
|
||||
|
||||
source.isLocatorOverlay = function() {
|
||||
return name === 'Locator Overlay';
|
||||
return source.id === 'mapbox_locator_overlay';
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user