Default interactions during buttondownfcn for geoaxes ???

5 ビュー (過去 30 日間)
Kunal Khosla
Kunal Khosla 2021 年 5 月 11 日
回答済み: Jonas 2022 年 7 月 11 日
I am working on a idea to plot some points on a geographic axis with the help of a buttondwnfcn callback. But all the map interactions like pan, zooming don't seem to work as they were working without a callback. Is the interaction disabled while use the button-down fcn?

回答 (1 件)

Jonas 2022 年 7 月 11 日
yes, the defaultInteraction is disabled when you set a window function like the buttondwnfcn. However, it is reenabled if the callback is removed.
Until now, i did not find a solution to have defaultInteraction if a figure window callback is set


Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by