From dfc7ba21148f75953488962cb974c7d0d6283536 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 2 Feb 2023 14:10:10 +0100 Subject: [PATCH] Remove unnused imports --- UI/Base/Minimap.ts | 1 - UI/Base/MinimapImplementation.ts | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/Base/Minimap.ts b/UI/Base/Minimap.ts index b7dccbe4ef..13ac4b5f7f 100644 --- a/UI/Base/Minimap.ts +++ b/UI/Base/Minimap.ts @@ -3,7 +3,6 @@ import Loc from "../../Models/Loc" import BaseLayer from "../../Models/BaseLayer" import { UIEventSource } from "../../Logic/UIEventSource" import { BBox } from "../../Logic/BBox" -import { deprecate } from "util" export interface MinimapOptions { background?: UIEventSource diff --git a/UI/Base/MinimapImplementation.ts b/UI/Base/MinimapImplementation.ts index 22972f35ff..271bd72539 100644 --- a/UI/Base/MinimapImplementation.ts +++ b/UI/Base/MinimapImplementation.ts @@ -23,7 +23,7 @@ import StrayClickHandler from "../../Logic/Actors/StrayClickHandler" * The stray-click-hanlders adds a marker to the map if no feature was clicked. * Shows the given uiToShow-element in the messagebox */ -export class StrayClickHandlerImplementation { +class StrayClickHandlerImplementation { private _lastMarker constructor( @@ -91,6 +91,7 @@ export class StrayClickHandlerImplementation { }) } } + export default class MinimapImplementation extends BaseUIElement implements MinimapObj { private static _nextId = 0 public readonly leafletMap: UIEventSource