We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d34e6b commit 8e96de2Copy full SHA for 8e96de2
js/app.js
@@ -29,7 +29,9 @@ function lhash_update(history_step) {
29
}
30
31
if(follow_vehicle === null || manual_pan) {
32
- hash += "&mc=" + map.getCenter().toString().replace(/[ )(]/g,'');
+ var latlng = map.getCenter();
33
+ hash += "&mc=" + roundNumber(latlng.lat(), 5) +
34
+ "," + roundNumber(latlng.lng(), 5);
35
36
37
if(follow_vehicle !== null) {
0 commit comments