forked from MapComplete/MapComplete
New graphs; disable optimazation
This commit is contained in:
parent
8c5d4ed78f
commit
2bb50561fe
17 changed files with 62 additions and 21 deletions
|
@ -74,7 +74,7 @@ export default class TagRenderingConfig {
|
|||
}
|
||||
if(this.freeform.addExtraTags){
|
||||
const usedKeys = new And(this.freeform.addExtraTags).usedKeys();
|
||||
if(usedKeys.indexOf(this.freeform.key)){
|
||||
if(usedKeys.indexOf(this.freeform.key) >= 0){
|
||||
throw `The freeform key ${this.freeform.key} will be overwritten by one of the extra tags, as they use the same key too. This is in ${context}`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue