Skip to content
Snippets Groups Projects
Commit 1b35415a authored by Yves Gouriou's avatar Yves Gouriou
Browse files

Bloque le zoom et le pan sur l'objet MAP. Fonction

setAllowAxes(Pan ou Zoom) dans les callbacks Pan_OnMenuCallback et Zoom_OnMenuCallback
parent 1d7f10ff
No related branches found
No related tags found
No related merge requests found
......@@ -696,6 +696,10 @@ end
% --------------------------------------------------------
hZoom = zoom(hMainFig);
% Disallows a zoom operation on the MAP axes objects
% --------------------------------------------------
setAllowAxesZoom(hZoom, hPlotAxes(4), false);
% turns on interactive zooming (same effect than zoom on) but prevent
% side effect on another figure
% -------------------------------------------------------------------
......@@ -743,6 +747,10 @@ end
% -----------------------------------------------
hPan = pan(hMainFig);
% Disallows a pan operation on the MAP axes objects
% --------------------------------------------------
setAllowAxesPan(hPan, hPlotAxes(4), false);
% turns on interactive pan (same effect than pan on) but prevent
% side effect on another figure
% -------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment