Geoglobe is not showing

Hello, I am doing a school project and I am using the Mapping toolbox. Until now I had no problem with the geoglobe function, but today when I ran my code, the globe stopped displaying. When I run this basic code:
uif = uifigure;
g = geoglobe(uif);
This will happen: do you have any idea how to fix this problem? I tried to reinstall the toolbox, but I have no clue what i can try next. Thanks!

3 Comments

I am having the same result. I installed the latest update and the globe has suddenly dissapeared. I have been having a lot more trouble with graphics with the new release of 2023b. I've tried just running any of the examples and the result is the same... I do not have a solution, but wanted to add to support your question. I think it is something in the data base of maps? As you rotate the plot, the stars or something rotates in the background like you can see through the globe. I don't know if htere is an oppacity setting that has defaulted wrong or just the plot can't reach the globe anymore... GL
You should contact TMW technical support for this - Contact Support
Mike Susedik
Mike Susedik on 17 Nov 2023
Edited: Mike Susedik on 17 Nov 2023
I put in a ticket and they got back to me and say it's not happening to them. I pointed them to this threat. Hopefully they contact Cris below.

Sign in to comment.

 Accepted Answer

Cris LaPierre
Cris LaPierre on 17 Nov 2023
MathWorks is aware of a server issue and is working to resolve it.

4 Comments

leka0024
leka0024 on 18 Dec 2023
Edited: leka0024 on 18 Dec 2023
@Cris LaPierre, why won't Matlab allow geoglobe to have a regular figure as parent? Why force it into uifigure?
uifigures have capabilities that are not supported by figures. I suspect geoglobe is leveraging some fo those capabilites to create the interative globe.
uifigure() are based on HTML, and can have components that are based around HTML.
"Traditional" figures are based around java and cannot have components that are based around HTML (except for individual HTML 1.1 containers such as uicontrol buttons.)
geoglobe uses HTML.
@Cris LaPierre and @Walter Roberson thank you both for the replies! Appreciate it

Sign in to comment.

More Answers (2)

According to our development team, the issue is fixed by now. Please check if the issue persists with the simple script below.
uif = uifigure;
g = geoglobe(uif);
Mike Susedik
Mike Susedik on 17 Nov 2023
Edited: Mike Susedik on 17 Nov 2023
As a temp fix from ML support and it worked for me:
We are working on resolving this issue as soon as possible. You can still use the "geoglobe" function but you will need to set Terrain="none", such as:
hfig = uifigure;
g = geoglobe(hfig, Terrain="none")

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products

Release

R2023b

Tags

Asked:

on 14 Nov 2023

Commented:

on 19 Dec 2023

Community Treasure Hunt

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

Start Hunting!