Skip to content

Commit

Permalink
Add 2000 map for BLR region
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonter committed Dec 6, 2024
1 parent 9f5754a commit 733af01
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ The maps have been sourced from multiple places:
- 1900: https://britishlibrary.oldmapsonline.org/maps/5c5f6ea9-8f24-5df6-9fc1-ad11ecfbcdc1/
- 1910: https://www.raremaps.com/gallery/detail/55788/map-of-country-10-miles-around-bangalore-anonymous
- 1940: https://umedia.lib.umn.edu/item/p16022coll246:577
- 2000: [Bengawalk](https://bengawalk.com)
- 2000 (City): [Bengawalk](https://bengawalk.com)
- 2000 (Region): [Bengawalk](https://bengawalk.com)
- 2005: https://www.arcgis.com/home/item.html?id=903f0abe9c3b452dafe1ca5b8dd858b9
- 2015: https://www.arcgis.com/home/item.html?id=9badc1f6b6a64a609a87fc75e8a6b083
- Today: https://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9
Expand Down
14 changes: 11 additions & 3 deletions src/lib/components/About.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,18 @@
<li>1900: Published in 1935 (John Bartholomew)</li>
<li>1910: Published in 1910 (Litho. School 2nd Q.V.O.S. & M in Bangalore)</li>
<li>1940: Surveyed 1935-36. Published in 1948 (Survey of India)</li>
<li>2000: Surveyed 1997-99. Published in 2002 (Survey of India)</li>
<li>2005: Satellite images captured over multiple years through the 2000s (ESRI)</li>
<li>2000 (City): Surveyed 1997-99. Published in 2002 (Survey of India)</li>
<li>
2015: Satellite images captured over multiple years through the early 2010s (ESRI)
2000 (Region): Surveyed across multiple decades in the late 20th Century. Major
details updated around 2000. Published in 2011 (Survey of India)
</li>
<li>
2005: Satellite images captured in different areas across multiple years through the
2000s (ESRI)
</li>
<li>
2015: Satellite images captured in different areas across multiple years through the
early 2010s (ESRI)
</li>
<li>Today: Satellite images captured after 2022 (ESRI)</li>
<li>
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/Map.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
{ year: 1898, label: '1900' },
{ year: 1910, label: '1910' },
{ year: 1940, label: '1940' },
{ year: 2002, label: '2000' },
{ year: 2002, label: '2000 (City)' },
{ year: 2003, label: '2000 (Region)' },
{ year: 2009, label: '2005' },
{ year: 2015, label: '2015' },
{ year: 2024, label: 'Today' }
Expand Down
10 changes: 5 additions & 5 deletions src/lib/components/Slider.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</script>

<div
class="absolute bottom-2 left-1/2 z-10 min-w-[280px] max-w-[90vw] -translate-x-1/2 rounded-lg bg-white/95 p-3 shadow-md backdrop-blur-md sm:min-w-[240px] md:p-4 dark:bg-neutral-900/95"
class="absolute bottom-2 left-1/2 z-10 min-w-[320px] max-w-[90vw] -translate-x-1/2 rounded-lg bg-white/95 p-3 shadow-md backdrop-blur-md sm:min-w-[280px] md:p-4 dark:bg-neutral-900/95"
>
<div class="grid grid-cols-[1fr_auto_1fr] items-center gap-4">
<div class="flex flex-col items-center">
Expand All @@ -38,7 +38,7 @@
/>
</svg>
</button>
<div class="mt-1 h-5 w-16 text-center">
<div class="mt-2 h-5 w-20 text-center">
{#if currentYearIndex > 0}
<span class="text-xs text-gray-500 dark:text-neutral-500">
{availableYears[currentYearIndex - 1].label}
Expand All @@ -47,7 +47,7 @@
</div>
</div>

<div class="flex w-24 flex-col items-center">
<div class="flex w-32 flex-col items-center">
<div class="text-center text-xl font-semibold text-gray-900 md:text-lg dark:text-neutral-200">
{availableYears[currentYearIndex].label}
</div>
Expand Down Expand Up @@ -101,7 +101,7 @@
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
</svg>
</button>
<div class="mt-1 h-5 w-16 text-center">
<div class="mt-2 h-5 w-20 text-center">
{#if currentYearIndex < availableYears.length - 1}
<span class="text-xs text-gray-500 dark:text-neutral-500">
{availableYears[currentYearIndex + 1].label}
Expand All @@ -111,7 +111,7 @@
</div>
</div>

<div class="mt-3 flex items-center justify-center gap-1">
<div class="mt-4 flex items-center justify-center gap-1">
{#each availableYears as year, i}
<div
class="h-1 rounded-full transition-all duration-200 {i === currentYearIndex
Expand Down

0 comments on commit 733af01

Please sign in to comment.