Add small overview document for every layer

This commit is contained in:
Pieter Vander Vennet 2022-01-14 19:34:00 +01:00
parent eba52836b2
commit 77e9151095
41 changed files with 1325 additions and 2040 deletions

View file

@ -53,5 +53,17 @@ export default class Img extends BaseUIElement {
}
return el;
}
AsMarkdown(): string {
if(this._rawSvg === true){
console.warn("Converting raw svgs to markdown is not supported");
return undefined
}
let src = this._src
if(this._src.startsWith("./")){
src = "https://mapcomplete.osm.be/"+src
}
return "![]("+src+")";
}
}