UI updates to better position map for building dots
This commit is contained in:
@@ -4,6 +4,6 @@ export const CONFIG = {
|
||||
DEFAULT_LNG: parseFloat(document.querySelector('meta[name="default-lng"]')?.content) || -113.4938,
|
||||
DEFAULT_ZOOM: parseInt(document.querySelector('meta[name="default-zoom"]')?.content) || 11,
|
||||
REFRESH_INTERVAL: 30000, // 30 seconds
|
||||
MAX_ZOOM: 19,
|
||||
MAX_ZOOM: 20,
|
||||
MIN_ZOOM: 2
|
||||
};
|
||||
|
||||
@@ -20,7 +20,7 @@ export function getUserLocation() {
|
||||
const lng = position.coords.longitude;
|
||||
|
||||
// Center map on user location
|
||||
map.setView([lat, lng], 15);
|
||||
map.setView([lat, lng], 19);
|
||||
|
||||
// Add or update user location marker
|
||||
if (userLocationMarker) {
|
||||
|
||||
Reference in New Issue
Block a user