필터 지우기
필터 지우기

geoaxes inside uicontainer pan/zoom not working

조회 수: 4 (최근 30일)
Johan Svendsen
Johan Svendsen 2020년 11월 20일
답변: Tim Johns 2020년 11월 24일
Hi
As mentioned above, I am trying to put a geoaxes inside of uicontainer inside of an app that I am making.
But the pan/zoom interaction does not seem to work, is this not possible? I have tried with:
gx = geoaxes(LiveMapPanel,'Basemap','satellite');
gx.Toolbar.Visible = 'on';
gx.Interactions = panInteraction;
Toolbox works but only toolbar works, but this is less then ideal as I can only zoom in and out.
Also I have read that webmap is not possible to put outside of the tab that opens, is this true?
Thank you in advance!
Kind regards

채택된 답변

Tim Johns
Tim Johns 2020년 11월 24일
Hi Johan,
I just tried this in R2020b and it worked fine for me. What MATLAB version are you using?
LiveMapPanel = uipanel()
gx = geoaxes(LiveMapPanel,'Basemap','satellite');
gx.Toolbar.Visible = 'on';
gx.Interactions = panInteraction;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by