0

leaflet: Reimplement coordinate box on bottom left

I'd move the event setup into addTo, but JS is utter garbage and thinks
"this" in a function callback like that should be whatever, not where you
actually define it.
This commit is contained in:
Nicolas F
2017-03-13 14:04:37 +01:00
parent 7a6b9973c2
commit 84b52326dc
4 changed files with 48 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ overviewer.map = null;
overviewer.worldCtrl = null;
overviewer.layerCtrl = null;
overviewer.compass = null;
overviewer.coord_box = null;
overviewer.current_world = null;
/// Records the current layer by name (if any) of each world