MATLAB Answers

Save Geographic Player Figure as an image

6 views (last 30 days)
I want to save this image but it is not a normal figure. Could you please help me how I could save it?
player = geoplayer(data.latitude(1),data.longitude(1),zoomLevel);
plotRoute(player,data.latitude,data.longitude);

Accepted Answer

Walter Roberson
Walter Roberson on 14 May 2021
fig = player.Parent;
saveas(fig, 'ImageFileName.png')

More Answers (0)

Community Treasure Hunt

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

Start Hunting!