From e92a2333f2dbc577421ff121d361b083ef6bc433 Mon Sep 17 00:00:00 2001 From: efiten Date: Tue, 14 Apr 2026 10:50:42 +0200 Subject: [PATCH] feat: geofilter map modal + light tile theme (#669) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clicking the small inline map in the customizer GeoFilter tab now opens a full-screen modal (92vw × 86vh) with Undo/Clear/Done/Cancel controls. The inline map becomes a read-only preview. Both maps and the standalone geofilter-builder.html now use CartoDB Positron (light) instead of dark. Co-Authored-By: Claude Sonnet 4.6 --- public/customize-v2.js | 176 +++++++++++++++++++++++++++++----- public/geofilter-builder.html | 43 ++++----- 2 files changed, 171 insertions(+), 48 deletions(-) diff --git a/public/customize-v2.js b/public/customize-v2.js index 1979aeaa..003f5514 100644 --- a/public/customize-v2.js +++ b/public/customize-v2.js @@ -786,6 +786,8 @@ // GeoFilter tab state var _gfMap = null; + var _gfModalMap = null; + var _gfWriteEnabled = false; var _gfPoints = []; var _gfMarkers = []; var _gfPolygon = null; @@ -1172,15 +1174,15 @@ return '
' + '

Geographic Filter

' + '

Shows the active geographic filter. Nodes outside this area are excluded at ingest time and in API responses.

' + - '
' + + '
' + + '
' + + '
🔍 click to expand
' + + '
' + '
Loading current filter…
' + // Edit controls — hidden until server confirms write access (writeEnabled=true) '