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 = [