summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-09 10:21:03 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-09 10:21:03 +0100
commit31a47fc4393856a0a0380b2fdcf79f9dac72ad56 (patch)
tree6db58e01329bc0331fc7e4b8b2db09d7c8b3b6fc /dist
parentd5967c1b91b14b3b4e5b0d9663e8a4d2a5e80533 (diff)
web: projection switch, external image URLs, zoom buttons
- ?file= now also accepts absolute http(s) image URLs (CORS applies); README documents all URL parameters - Projection dropdown (rectilinear / cylindrical-panoramic), synced from the gipfel comment on load; cylindrical lifts the lens-FOV visibility limit (unlimited view angle) so 360 deg panoramas show peaks in every direction - force visibility rebuild on every image load (the change detection alone could keep a stale list when the limit value was unchanged) - Google-Maps-style +/- zoom buttons at the lower right of the canvas - save/load roundtrip test for the projection type in the gipfel comment; build stamp in the sidebar footer and ?debug=1 console diagnostics to spot stale cached bundles and inspect the effective visibility state
Diffstat (limited to 'dist')
-rw-r--r--dist/gipfel/gipfel.js11
-rw-r--r--dist/gipfel/gipfel_bg.wasmbin551505 -> 555370 bytes
-rw-r--r--dist/gipfel/style.css29
3 files changed, 36 insertions, 4 deletions
diff --git a/dist/gipfel/gipfel.js b/dist/gipfel/gipfel.js
index f570bef..7265351 100644
--- a/dist/gipfel/gipfel.js
+++ b/dist/gipfel/gipfel.js
@@ -370,6 +370,9 @@ function __wbg_get_imports() {
const ret = arg0.location;
return ret;
},
+ __wbg_log_17c30ef363c61cf4: function(arg0) {
+ console.log(arg0);
+ },
__wbg_measureText_1035b288be51876c: function() { return handleError(function (arg0, arg1, arg2) {
const ret = arg0.measureText(getStringFromWasm0(arg1, arg2));
return ret;
@@ -688,22 +691,22 @@ function __wbg_get_imports() {
return ret;
},
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 72, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 73, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___wasm_bindgen_f1f668f83a5f514b___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f1f668f83a5f514b___JsError___true_);
return ret;
},
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 32, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 33, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Array__web_sys_ce8fadd6eea37a81___features__gen_ResizeObserver__ResizeObserver______true_);
return ret;
},
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 96, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 97, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures________invoke___web_sys_ce8fadd6eea37a81___features__gen_Event__Event______true_);
return ret;
},
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 34, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 35, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke_______true_);
return ret;
},
diff --git a/dist/gipfel/gipfel_bg.wasm b/dist/gipfel/gipfel_bg.wasm
index 417b81e..c12ae41 100644
--- a/dist/gipfel/gipfel_bg.wasm
+++ b/dist/gipfel/gipfel_bg.wasm
Binary files differ
diff --git a/dist/gipfel/style.css b/dist/gipfel/style.css
index 1a0173c..942c569 100644
--- a/dist/gipfel/style.css
+++ b/dist/gipfel/style.css
@@ -376,3 +376,32 @@ select.textinput {
.row.gap {
margin-top: 6px;
}
+/* Google-Maps-style zoom control, bottom right above the status line */
+.zoomctrl {
+ position: absolute;
+ right: 12px;
+ bottom: 34px;
+ display: flex;
+ flex-direction: column;
+ border-radius: 8px;
+ overflow: hidden;
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
+ z-index: 6;
+}
+.zoomctrl button {
+ width: 38px;
+ height: 38px;
+ padding: 0;
+ font-size: 21px;
+ line-height: 1;
+ background: rgba(26, 26, 32, 0.85);
+ color: #fff;
+ border: 0;
+ cursor: pointer;
+}
+.zoomctrl button:hover {
+ background: rgba(59, 111, 212, 0.9);
+}
+.zoomctrl button + button {
+ border-top: 1px solid rgba(255, 255, 255, 0.15);
+}