diff --git a/Logic/Osm/Actions/ReplaceGeometryAction.ts b/Logic/Osm/Actions/ReplaceGeometryAction.ts index c45784db0e..08848b7c29 100644 --- a/Logic/Osm/Actions/ReplaceGeometryAction.ts +++ b/Logic/Osm/Actions/ReplaceGeometryAction.ts @@ -13,7 +13,6 @@ import {Utils} from "../../../Utils"; import {OsmConnection} from "../OsmConnection"; import {GeoJSONObject} from "@turf/turf"; import FeaturePipeline from "../../FeatureSource/FeaturePipeline"; -import DeleteAction from "./DeleteAction"; export default class ReplaceGeometryAction extends OsmChangeAction { /** diff --git a/Models/Constants.ts b/Models/Constants.ts index 330f11c961..f470b53ebd 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import {Utils} from "../Utils"; export default class Constants { - public static vNumber = "0.13.0-alpha-9"; + public static vNumber = "0.13.0-alpha-10"; public static ImgurApiKey = '7070e7167f0a25a' public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85" diff --git a/UI/Popup/ImportButton.ts b/UI/Popup/ImportButton.ts index 2c5d7cf7d6..2650312b11 100644 --- a/UI/Popup/ImportButton.ts +++ b/UI/Popup/ImportButton.ts @@ -308,6 +308,8 @@ export class ConflateButton extends AbstractImportButton { args: { max_snap_distance: string; snap_onto_layers: string; icon: string; text: string; tags: string; newTags: UIEventSource; targetLayer: string }, tagSource: UIEventSource, guiState: DefaultGuiState, feature: any, onCancelClicked: () => void): BaseUIElement { + return new FixedUiElement("ReplaceGeometry is currently very broken - use mapcomplete.osm.be for now").SetClass("alert") + const nodesMustMatch = args.snap_onto_layers?.split(";")?.map((tag, i) => TagUtils.Tag(tag, "TagsSpec for import button " + i)) const mergeConfigs = []