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.
2 parents dd4500d + e296912 commit f36e0b3Copy full SHA for f36e0b3
js/app.js
@@ -860,7 +860,7 @@ $(window).ready(function() {
860
// open map
861
$('.nav .home').click();
862
// pan map to our current location
863
- map.flyTo(new L.LatLng(currentPosition.lat, currentPosition.lon));
+ map.panTo(new L.LatLng(currentPosition.lat, currentPosition.lon));
864
} else {
865
alert("No position available");
866
}
0 commit comments