Save Geographic Player Figure as an image

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

fig = player.Parent;
saveas(fig, 'ImageFileName.png')

More Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!