mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 17:14:04 +02:00
remove other token formats from imagery_used (#8976)
This commit is contained in:
@@ -577,8 +577,9 @@ rendererBackgroundSource.Custom = function(template) {
|
||||
}
|
||||
|
||||
// from wms/wmts api path parameters
|
||||
cleaned = cleaned.replace(/token\/(\w+)/, 'token/{apikey}');
|
||||
|
||||
cleaned = cleaned
|
||||
.replace(/token\/(\w+)/, 'token/{apikey}')
|
||||
.replace(/key=(\w+)/, 'key={apikey}');
|
||||
return 'Custom (' + cleaned + ' )';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user