forked from MapComplete/MapComplete
Add small overview document for every layer
This commit is contained in:
parent
eba52836b2
commit
77e9151095
41 changed files with 1325 additions and 2040 deletions
|
@ -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 "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue