Is "geoglobe" currently bugged?
6 views (last 30 days)
Show older comments
chicken vector
on 15 Nov 2023
Commented: chicken vector
on 22 Nov 2023
I have always used geoglobe, but when I tried again today, the following command does not work anymore as usual.
uif = uifigure;
g = geoglobe(uif);
The output now is only the background without Earth.
I tried this on 2 computers and on both 2023a and 2023b.
It has always worked for me on 2023a and 2022b.
I am trying to understand if its me or the function.
6 Comments
Steven Lord
on 16 Nov 2023
Looking at the documentation page, I see a few things in the documentation I'd like to check.
Basemap
The description of the Basemap input argument states:
"All basemaps except 'darkwater' require Internet access. The 'darkwater' basemap is included with MATLAB and Mapping Toolbox™.
If you do not have consistent access to the Internet, you can download the basemaps created using Natural Earth onto your local system by using the Add-On Explorer. The basemaps hosted by Esri are not available for download. For more about downloading basemaps and changing the default basemap on your local system, see Access Basemaps and Terrain for Geographic Globe."
The default Basemap is 'satellite', so the default requires Internet access. Do you have Internet access on the machine where you're trying to display the basemap? Or could your system be behind a firewall that blocks access to that basemap? If you don't have Internet access (or are behind a firewall), do you see the same behavior if you use 'darkwater' or download one of the other basemaps from the File Exchange and copy the basemap onto your system?
WebGL support
The Description section states "The geographic globe requires hardware graphics support for WebGL™." Does your hardware support WebGL?
Accepted Answer
Cris LaPierre
on 16 Nov 2023
Moved: Cris LaPierre
on 16 Nov 2023
The best way to find out is to contact support. Since it works on some machines but not others, they will likely need to get more details from you in order to properly diagnose the issue.
2 Comments
Cris LaPierre
on 17 Nov 2023
Edited: Cris LaPierre
on 17 Nov 2023
MathWorks is aware of a server issue and is working to resolve it.
More Answers (2)
Angelo Yeo
on 21 Nov 2023
Edited: Angelo Yeo
on 21 Nov 2023
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);
Song-Hyun Ji
on 20 Nov 2023
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")
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!