mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-11-07 00:00:39 +01:00
setup for cleanup
This commit is contained in:
parent
ec976f2342
commit
f09ab1f5e1
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ init();
|
||||||
|
|
||||||
async function init(){
|
async function init(){
|
||||||
|
|
||||||
let resp = await fetch("/atlas.json");
|
let resp = await fetch("./atlas.json");
|
||||||
atlas = await resp.json();
|
atlas = await resp.json();
|
||||||
atlas.sort(function (a, b) {
|
atlas.sort(function (a, b) {
|
||||||
if (a.center[1] < b.center[1]) {
|
if (a.center[1] < b.center[1]) {
|
||||||
|
@ -105,7 +105,7 @@ async function init(){
|
||||||
var desiredZoom;
|
var desiredZoom;
|
||||||
var zoomAnimationFrame;
|
var zoomAnimationFrame;
|
||||||
|
|
||||||
var mode = "view";
|
var mode = "overlap";
|
||||||
|
|
||||||
var args = window.location.search;
|
var args = window.location.search;
|
||||||
if(args){
|
if(args){
|
||||||
|
|
Loading…
Reference in a new issue