diff --git a/Models/Constants.ts b/Models/Constants.ts index dde6bb8422..e3874d3e65 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.12.10"; + public static vNumber = "0.12.11"; public static ImgurApiKey = '7070e7167f0a25a' public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85" diff --git a/UI/BigComponents/SimpleAddUI.ts b/UI/BigComponents/SimpleAddUI.ts index 04a3aa3145..6e1bdb4f4d 100644 --- a/UI/BigComponents/SimpleAddUI.ts +++ b/UI/BigComponents/SimpleAddUI.ts @@ -22,6 +22,7 @@ import {Changes} from "../../Logic/Osm/Changes"; import FeaturePipeline from "../../Logic/FeatureSource/FeaturePipeline"; import {ElementStorage} from "../../Logic/ElementStorage"; import ConfirmLocationOfPoint from "../NewPoint/ConfirmLocationOfPoint"; +import BaseLayer from "../../Models/BaseLayer"; /* * The SimpleAddUI is a single panel, which can have multiple states: @@ -52,6 +53,7 @@ export default class SimpleAddUI extends Toggle { locationControl: UIEventSource, filteredLayers: UIEventSource, featureSwitchFilter: UIEventSource, + backgroundLayer: UIEventSource }) { const loginButton = new SubtleButton(Svg.osm_logo_ui(), Translations.t.general.add.pleaseLogin.Clone()) .onClick(() => state.osmConnection.AttemptLogin()); diff --git a/UI/NewPoint/ConfirmLocationOfPoint.ts b/UI/NewPoint/ConfirmLocationOfPoint.ts index 3782ecf2b7..baabd03341 100644 --- a/UI/NewPoint/ConfirmLocationOfPoint.ts +++ b/UI/NewPoint/ConfirmLocationOfPoint.ts @@ -21,7 +21,7 @@ export default class ConfirmLocationOfPoint extends Combine { state: { osmConnection: OsmConnection, featurePipeline: FeaturePipeline, - backgroundLayer: UIEventSource + backgroundLayer?: UIEventSource }, filterViewIsOpened: UIEventSource, preset: PresetInfo,