Plot_Google_Map in App Designer

4 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
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

Community Treasure Hunt

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

Start Hunting!

Translated by