Plot_Google_Map in App Designer

8 次查看(过去 30 天)
Evan Bates
Evan Bates 2019-1-15
评论: Evan Bates 2020-4-14
Plot_Google_Map is a great for plotting satellite images onto your plot (https://www.mathworks.com/matlabcentral/fileexchange/27627-zoharby-plot_google_map). However, I'm having trouble making it work in Matlab's App Designer. The function does not allow you to define an UIAxes and therefore does not plot the map to the intended figure on the GUI. Any help would be greatly appreciated.
  3 个评论
Hugo Huerta
Hugo Huerta 2020-4-13
Hi Evan.
I am having the same problem. Were you able to solve it?
Regards,
Hugo
Evan Bates
Evan Bates 2020-4-14
No I did not. I just let it open up a separate figure window.

请先登录,再进行评论。

回答(1 个)

Zenin Easa Panthakkalakath
Hi Evan,
Have you tried changing the axis handle in the code provided to that of UIAxes? I think that should enable in fulfiling your requirement.
Looking into the code, I find that 'axHandle' is the handle to the axes in the function provided and 'app.UIAxes' should be the handle (by default) in an App Designer project.
Regards,
Zenin

Community Treasure Hunt

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

Start Hunting!

Translated by