Fork me on GitHub

Configuration

If you are just getting started with Web WorldWind, you might be interested in its configuration options. The script below shows you how to set some of these configurations. Please note that these options must be set before you create the WorldWindow or any other WorldWind object.


Setting the Logging Level

// Get detailed logging
WorldWind.Logger.setLoggingLevel(WorldWind.Logger.LEVEL_WARNING);

// Turn off logging
WorldWind.Logger.setLoggingLevel(WorldWind.Logger.LEVEL_NONE);

Changing the GPU Cache Size

// Custom GPU Cache Size
WorldWind.configuration.gpuCacheSize = 500e6; // 500 MB

Changing the Image Path

If your server looks like this:

https://YOUR_SERVER/dir/subdir/images/
https://YOUR_SERVER/worldwind.min.js

Then the base URL should be:

WorldWind.configuration.baseUrl = "dir/subdir";

You can copy/paste these snippets into your own file, or check it out in the Web WorldWind examples on GitHub.



New Showcase section

Dear WorldWind Community,

We added a new Showcase section to the website featuring a curated list of third-party geospatial software projects that show what the developer community has built with the WorldWind Planetary Globe Engine.

Please note that these projects are developed independently and externally from NASA leveraging WorldWind’s public, open-source release unless stated otherwise in their description.

If you desire to submit a project to be considered for its inclusion in she Showcase section, reach out to the WorldWind team at:

arc-worldwind@mail.nasa.gov

Please add the subject “Showcase submission” or simply use the link above.