Skip to content

Commit

Permalink
Update mapy_projektNEW.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlakobus1234 authored Nov 5, 2024
1 parent 6369b35 commit 345438c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapy_projektNEW.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>Mapy Pro3B (v. 2.8.5.1) - webová verze</h1>
function randomLocation() {
var randomLat = (Math.random() * (90 - (-90)) - 90).toFixed(2);
var randomLng = (Math.random() * (180 - (-180)) - 180).toFixed(2);
map.setView([randomLat, randomLng], 5);
map.setView([randomLat, randomLng],);
marker.setLatLng([randomLat, randomLng]);
}
// zapne trasovnání
Expand Down

0 comments on commit 345438c

Please sign in to comment.