First working plantnet UI

This commit is contained in:
Pieter Vander Vennet 2022-08-22 19:16:37 +02:00
parent a8959fc934
commit 06f8cf7006
9 changed files with 216 additions and 39 deletions

View file

@ -2,15 +2,17 @@ import OsmChangeAction from "./OsmChangeAction";
import {Changes} from "../Changes";
import {ChangeDescription} from "./ChangeDescription";
import {TagsFilter} from "../../Tags/TagsFilter";
import {OsmTags} from "../../../Models/OsmFeature";
export default class ChangeTagAction extends OsmChangeAction {
private readonly _elementId: string;
private readonly _tagsFilter: TagsFilter;
private readonly _currentTags: any;
private readonly _currentTags: Record<string, string> | OsmTags;
private readonly _meta: { theme: string, changeType: string };
constructor(elementId: string,
tagsFilter: TagsFilter, currentTags: any, meta: {
tagsFilter: TagsFilter,
currentTags: Record<string, string>, meta: {
theme: string,
changeType: "answer" | "soft-delete" | "add-image" | string
}) {