Skip to content

Commit dcee9e7

Browse files
committed
fix: update shelter information in HTML for accuracy; adjust zoom level in app.js for consistent user experience
1 parent e2534cf commit dcee9e7

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ <h4>Building Data</h4>
326326
<p>We sourced building footprints from Microsoft Planetary Computer. To focus primarily on buildings within informal Bedouin settlements, we applied several filters. These included a GIS layer of informal settlements provided by The Authority for Development and Settlement of the Bedouin in the Negev (הרשות לפיתוח והתיישבות הבדואים בנגב), census tracts from the Central Bureau of Statistics (למ"ס) where no legally recognized settlements exist, and filtering by building footprint size to greater than 40 sqm to focus on residences.</p>
327327

328328
<h4>Shelter Data</h4>
329-
<p>Information on existing emergency shelter locations and community-requested sites is meticulously collected by Bimkom field workers and through community submissions. For more detailed information on shelter locations, please reach out to <strong><a href="https://bimkom.org/eng/home-mobile/" target="_blank">Bimkom</a></strong>.</p>
329+
<p>Information on existing shelter locations and community-requested sites was collected by <strong><a href="https://bimkom.org/eng/home-mobile/" target="_blank">Bimkom</a></strong> field workers and through community submissions. Further datasets on shelter locations was supplied by <strong><a href="https://eastnegev.org/" target="_blank">Eshkol Negev Mizrachi</a></strong>Eshkol Negev Mizrachi. Dataset is current as of July 2025 but has not been verified in the field.</p>
330330
</div>
331331
</div>
332332

js/app.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class ShelterAccessApp {
8484
};
8585

8686
// Current zoom and view state for zoom-dependent features
87-
this._currentZoom = 12;
87+
this._currentZoom = 11;
8888
this._currentViewState = null;
8989

9090
// Debouncing for view state changes
@@ -512,7 +512,7 @@ class ShelterAccessApp {
512512
initialViewState: {
513513
longitude: centerLng,
514514
latitude: centerLat,
515-
zoom: 12,
515+
zoom: 11,
516516
pitch: 0,
517517
bearing: 0,
518518
minZoom: 7,
@@ -535,7 +535,7 @@ class ShelterAccessApp {
535535
this.deckgl.setProps({layers: this.currentLayers});
536536

537537
// Store initial zoom level
538-
this._currentZoom = 12;
538+
this._currentZoom = 11;
539539

540540
// Initialize scale bar
541541
this.updateScaleBar();
@@ -665,7 +665,7 @@ class ShelterAccessApp {
665665
return;
666666
}
667667

668-
const currentZoom = currentViewState.zoom || 12;
668+
const currentZoom = currentViewState.zoom || 11;
669669
const newZoom = Math.min(currentZoom + 1, 19);
670670

671671
console.log(`Zooming from ${currentZoom} to ${newZoom}`);
@@ -711,7 +711,7 @@ class ShelterAccessApp {
711711
return;
712712
}
713713

714-
const currentZoom = currentViewState.zoom || 12;
714+
const currentZoom = currentViewState.zoom || 11;
715715
const newZoom = Math.max(currentZoom - 1, 7);
716716

717717
console.log(`Zooming from ${currentZoom} to ${newZoom}`);
@@ -1504,7 +1504,7 @@ class ShelterAccessApp {
15041504
* Get zoom-dependent icon configuration with smooth interpolation
15051505
*/
15061506
getZoomConfig() {
1507-
const currentZoom = this._currentZoom || 12;
1507+
const currentZoom = this._currentZoom || 11;
15081508

15091509
// Define breakpoint ranges for ultra-smooth interpolation
15101510
const breakpoints = [
@@ -1834,7 +1834,7 @@ class ShelterAccessApp {
18341834
if (!scaleBar || !scaleLine || !scaleText) return;
18351835

18361836
// Calculate scale based on zoom and latitude
1837-
const zoom = this._currentZoom || 12;
1837+
const zoom = this._currentZoom || 11;
18381838
const latitude = (this._currentViewState && this._currentViewState.latitude) || 31.25; // Fallback to center of Israel
18391839

18401840
// Earth circumference in meters at the equator

0 commit comments

Comments
 (0)