MATLAB Answers

Plot_Google_Map in App Designer

12 views (last 30 days)
Evan Bates
Evan Bates on 15 Jan 2019
Commented: Evan Bates on 14 Apr 2020
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 Comments

Hugo Huerta
Hugo Huerta on 13 Apr 2020
Hi Evan.
I am having the same problem. Were you able to solve it?
Regards,
Hugo
Evan Bates
Evan Bates on 14 Apr 2020
No I did not. I just let it open up a separate figure window.

Sign in to comment.

Answers (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

  0 Comments

Sign in to comment.