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