Moved server performance indicators; control tips working again.

This commit is contained in:
PeekabooSteam
2023-10-04 20:07:49 +01:00
parent e41484186b
commit f7b3e5bf77
11 changed files with 92 additions and 36 deletions

View File

@@ -121,7 +121,7 @@ export class Map extends L.Map {
/* Scale */
//@ts-ignore TODO more hacking because the module is provided as a pure javascript module only
L.control.scalenautic({ position: "topright", maxWidth: 300, nautic: true, metric: true, imperial: false }).addTo(this);
//L.control.scalenautic({ position: "topright", maxWidth: 300, nautic: true, metric: true, imperial: false }).addTo(this);
/* Map source dropdown */
this.#mapSourceDropdown = new Dropdown("map-type", (layerName: string) => this.setLayer(layerName), this.getLayers());