From bf4dc57194ccc5536a3f0a7c4f5691ac77910804 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 16 Dec 2022 01:04:40 +0100 Subject: [PATCH] Update comments --- Logic/Osm/Actions/ChangeTagAction.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Logic/Osm/Actions/ChangeTagAction.ts b/Logic/Osm/Actions/ChangeTagAction.ts index bd17d01c1..63d8c2320 100644 --- a/Logic/Osm/Actions/ChangeTagAction.ts +++ b/Logic/Osm/Actions/ChangeTagAction.ts @@ -6,10 +6,23 @@ import { OsmTags } from "../../../Models/OsmFeature" export default class ChangeTagAction extends OsmChangeAction { private readonly _elementId: string + /** + * The tags to apply onto the object + */ private readonly _tagsFilter: TagsFilter + /** + * The current tags of the object to change + */ private readonly _currentTags: Record | OsmTags private readonly _meta: { theme: string; changeType: string } + /** + * + * @param elementId: the element to change + * @param tagsFilter: the tags to apply + * @param currentTags: the current tags of the object + * @param meta: some metainformation + */ constructor( elementId: string, tagsFilter: TagsFilter,