# WGLMakie zoom with export\_static

**URL:** <https://discourse.julialang.org/t/wglmakie-zoom-with-export-static/126585>\
**Category:** Visualization\
**Tags:** question\
**Created:** [March 5, 2025, 2:02pm UTC](https://discourse.julialang.org/t/wglmakie-zoom-with-export-static/126585 "2025-03-05T14:02:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [March 5, 2025, 4:45pm UTC](https://discourse.julialang.org/t/wglmakie-zoom-with-export-static/126585/2 "2025-03-05T16:45:38Z")

</div>

Just answered this recently:

> [@DataInspector + bonito](https://discourse.julialang.org/t/datainspector-bonito/126249/4):
>
> Hm not easily… Although, it’s not that difficult to implement a simple on scroll event, which modifies the camera matrix of the axis scene directly in Javascript: function attach\_js\_zoom(scene) return js""" // I need to improve the $(scene) operation, to do the below: function get\_scene() { return new Promise(resolve =\> (function check() { $(scene).then(scene =\> scene ? resolve(scene) : setTimeout(check, 50)); })()); } …

---

_[View the full topic](https://discourse.julialang.org/t/wglmakie-zoom-with-export-static/126585)._
