mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 00:29:50 +02:00
@@ -111,7 +111,8 @@ export function uiBackground(context) {
|
||||
|
||||
function editCustom() {
|
||||
d3.event.preventDefault();
|
||||
var template = window.prompt(t('background.custom_prompt'), customTemplate);
|
||||
var example = 'https://{switch:a,b,c}.tiles.mapbox.com/v4/examples.map-4l7djmvo/{zoom}/{x}/{y}.png';
|
||||
var template = window.prompt(t('background.custom_prompt', { example: example }), customTemplate);
|
||||
if (template) {
|
||||
setCustom(template);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user