Map interactivity : controling zoom with mouse scrolling
古いコメントを表示
Hello,
I use Matlab r2019b.
I am trying to use Matlab Appdesigner to have an interactive map. For now, I just have a graphic display (UiAxes).
In the startupFcn Callback, I use the "imshow" function to display a stored map picture, .tif or .ppm (haven't tried .png yet, but I guess it is the same).
So far, I can use the mouse scroll to zoom in and out and I can move my point of view by clicking and moving the cursor (all like google map ...). No use of the Control Chart Interactivity is needed here.
However, when I create a UIFigureWindowButtonUp callback (even if empty), I can no longer use the mouse scroll to zoom in (and clicking and moving doesn't work either). Is it possible to retrieve this functionnality ? How ?
Please note that I (= my boss) would like to avoid using the Control Chart interactivity ; indeed, using directely the mouse scroll to zoom and dragging to move the picture make it more comfortable ...
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!