0

Added world switcher control

This commit is contained in:
Andrew Chin
2016-06-29 20:24:22 -04:00
parent 4f33d9087e
commit d593a4e974
2 changed files with 68 additions and 7 deletions

View File

@@ -11,8 +11,10 @@ var overviewer = {};
* This holds the map, probably the most important var in this file
*/
overviewer.map = null;
overviewer.mapView = null;
overviewer.worldCtrl = null;
overviewer.layerCtrl = null;
overviewer.current_world = null;
overviewer.collections = {
/**
@@ -29,6 +31,12 @@ overviewer.collections = {
*/
'infoWindow': null,
/**
* When switching regionsets, where should we zoom to?
* Defaults to spawn. Stored as map of world names to [latlng, zoom]
*/
'centers': {},
'worldViews': [],
'haveSigns': false,