geoaxes inside uicontainer pan/zoom not working

20 ビュー (過去 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 Center および File ExchangeData Exploration についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by