From a6335f4bded6fe1d1fe9bfc2dedff39b1a49090c Mon Sep 17 00:00:00 2001 From: ccmdi Date: Mon, 20 Oct 2025 12:36:11 -0400 Subject: [PATCH] fix: always show map, even if coordinates are unset --- src/views/map-bases-view.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/map-bases-view.ts b/src/views/map-bases-view.ts index 8b2c3ba..fa2d7f9 100644 --- a/src/views/map-bases-view.ts +++ b/src/views/map-bases-view.ts @@ -146,12 +146,11 @@ export class MapBasesView extends BasesView { } private async renderMap(): Promise { - // Need either coordinates property OR global lat/lng keys - if (!this.data || (!this.coordinatesProp && (!this.plugin.settings.latKey || !this.plugin.settings.lngKey))) { + if (!this.data) { this.containerEl.removeClass('is-loading'); return; } - + const loadingOverlay = this.containerEl.createDiv({ cls: 'map-loading-overlay' }); const spinner = loadingOverlay.createDiv();