minor stuff

This commit is contained in:
sameeranageshwar
2026-04-11 19:09:43 -04:00
parent 985ddc1f58
commit 25426275e3
4 changed files with 21 additions and 11 deletions
@@ -41,7 +41,7 @@
container: mapContainer,
style: 'https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json',
center: [-76.9425, 38.9859], // UMD McKeldin Mall
zoom: 15.5,
zoom: 16.5,
pitch: 0,
bearing: 0,
attributionControl: false
@@ -1,7 +1,7 @@
<script lang="ts">
import { mapState, UMD_LOCATIONS } from '$lib/states/map.svelte';
let { showDropdown = false } = $props<{ showDropdown?: boolean }>();
let { showDropdown = true } = $props<{ showDropdown?: boolean }>();
const legendItems = [
{ label: 'Harmful (80+ dB)', color: '#f38ba8' },
+3 -2
View File
@@ -15,10 +15,11 @@ export const UMD_LOCATIONS: StudyLocation[] = [
{ id: 'clarice', name: 'Clarice Library', hasFloors: false, lng: -76.94967344225785, lat: 38.99029330703877 },
{ id: 'yahentamitsi', name: 'Yahentamitsi', hasFloors: false, lng: -76.9448027183373, lat: 38.99108961575231 },
{ id: 'iribe', name: 'Iribe', hasFloors: false, lng: -76.93643838603555, lat: 38.98933701397555 },
{ id: 'reckord', name: 'Reckord Armory', hasFloors: false, lng: -76.93897470250619, lat: 38.98609556181066 }
{ id: 'reckord', name: 'Reckord Armory', hasFloors: false, lng: -76.93897470250619, lat: 38.98609556181066 },
{ id: 'stamp', name: 'Stamp Student Union', hasFloors: true, floors: ['Basement', 'Floor 1', 'Floor 2'], lng: -76.94473083972326, lat: 38.988130238874874 }
];
export const DEFAULT_VIEW = { lng: -76.9425, lat: 38.9859, zoom: 15.5 };
export const DEFAULT_VIEW = { lng: -76.9425, lat: 38.9859, zoom: 16.5 };
class MapState {
// The target coordinates the map should fly to