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