set map to central usa location

This commit is contained in:
moom0o 2023-04-08 12:44:45 -04:00 committed by GitHub
parent 73f6003cbf
commit 75809cb8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// Creating map options // Creating map options
let mapOptions = { let mapOptions = {
center: [17.385044, 78.486671], center: [41.875728, 87.626609],
zoom: 10, zoom: 10,
} }
@ -36,4 +36,4 @@ map.on('click', (event)=> {
document.getElementById('lat').value = event.latlng.lat; document.getElementById('lat').value = event.latlng.lat;
document.getElementById('long').value = event.latlng.lng; document.getElementById('long').value = event.latlng.lng;
}) })