This commit is contained in:
Gautier Pelloux-Prayer 2017-04-24 17:00:19 +02:00
parent ab85ec31e1
commit 4a431ac4bf
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@
if(hash.indexOf('#map=') === 0) {
hash = hash.substr(5);
}
var args = hash.split("&");
var args = hash.split("?");
var mapsArgs = args[0].split("/");
if (mapsArgs.length == 4) {
var zoom = parseInt(mapsArgs[0], 10),