From 72bae57519f977264421d2e0bc11e04b5c18738f Mon Sep 17 00:00:00 2001 From: Claude Dev Date: Thu, 26 Mar 2026 00:13:04 +0100 Subject: [PATCH] Fix: VLM-Suche standardmaessig weltweit statt Viewport-BBox Wenn man nicht weiss wo ein Bild aufgenommen wurde, macht eine Viewport-Einschraenkung keinen Sinn. BBox ist jetzt optional per Checkbox "Nur im sichtbaren Bereich suchen". Co-Authored-By: Claude Opus 4.6 (1M context) --- static/js/ui/vlm.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/static/js/ui/vlm.js b/static/js/ui/vlm.js index 2e822a0..82ac3a2 100644 --- a/static/js/ui/vlm.js +++ b/static/js/ui/vlm.js @@ -54,7 +54,11 @@ const VlmUI = { '
' + '
ERKANNTE OBJEKTE
' + '
' + - '' + + '' + + '' + '' + '' + // Reset @@ -243,9 +247,10 @@ const VlmUI = { return; } - // BBox vom Viewport + // BBox: Standard weltweit (null), optional auf Viewport einschraenken var bbox = null; - if (Globe.viewer) { + var bboxCb = document.getElementById('vlm-use-bbox'); + if (bboxCb && bboxCb.checked && Globe.viewer) { var rect = Globe.viewer.camera.computeViewRectangle(); if (rect) { bbox = [