import {Img} from "../../UI/Img";
import {RegexTag, Tag} from "../../Logic/Tags";
import {TagRenderingOptions} from "../TagRenderingOptions";
export class OsmLink extends TagRenderingOptions {
static options = {
freeform: {
key: "id",
template: "$$$",
renderTemplate:
"" +
Img.osmAbstractLogo +
"",
placeholder: "",
},
mappings: [
{k: new RegexTag("id", /node\/-.+/), txt: "Uploading"}
]
}
constructor() {
super(OsmLink.options);
}
}