Skip to content
Branch: develop
Go to file
Code

Latest commit

Beak-man and markpet49 committed bbe4ad5 Jun 5, 2020
Fix to correctly display KML files with no altitudeMode specified (#826)
* Updated npm packages with 'npm audit fix'

* Added validation for when the KML file doesn't specify altitudeMode
 - Resolves issue of KmlPolygon not creating SurfacePolygon when KML file does not specify altitudeMode.

 - As per KML's 2.2 specification, if altitudeMode is not specified, it should be interpreted as CLAMP_TO_GROUND. This commit ensures this behavior.

 - Added method for validation of altitudeMode existence in KML file, imitating WWJ's KMLPlacemark behavior.

* Temporarily changed data source used in KML example to test a KML file with no altitudeMode specified

* Added KML file with no altitudeMode specified
 - Downloaded from here:
   https://opendata.hayward-ca.gov/datasets/hayward-general-plan-land-use?geometry=-122.322%2C37.590%2C-121.845%2C37.685

* tests for kmlInnerBoundary glitch

* Returned KML example to its previous test file source

* Added TODO comment regarding boundary graphic glitches

* Changed isValidAltitudeMode to use WorldWind constants.
 - Ran code formatter on the file

Co-authored-by: Mark Peterson <markpet@yahoo.com>

Files

Permalink
Failed to load latest commit information.

README.md

Web WorldWind

NASA Renews Commitment to WorldWind

WorldWind has received renewed commitment from NASA for continued development and support. NASA will continue to release updates to the WorldWind SDKs, and will continue to make the WorldWind Servers accessible for all Users. We plan to make an announcement soon regarding a path forward for improved support of the WorldWind User & Developer communities.

If you have questions and/or concerns, please feel free to email at:

worldwind-info@lists.nasa.gov

Build Status

3D virtual globe API in JavaScript for the web, developed by NASA. The European Space Agency has provided valuable contributions to this platform since 2015. Web WorldWind provides a geographic context, complete with terrain, and a collection for shapes for displaying and interacting with geographic or geo-located information in 3D and 2D in any modern web browser. High-resolution terrain and imagery is retrieved from remote servers automatically as needed, while enabling developers to include their own custom terrain and imagery.

  • worldwind.arc.nasa.gov has setup instructions, developers guides, API documentation and more
  • Forum provides help from the WorldWind community
  • WebStorm is used by the NASA WorldWind development team

Get Started

The Web WorldWind Developer's Guide has a complete description of Web WorldWind's functionality. You'll also find there links to many Web WorldWind resources, including a user guide. The latest Web WorldWind release provides many simple examples showing how to use all of Web WorldWind's functionality.

Building

Install NodeJS. The build is known to work with Node.js 10.15.3 LTS and 11.12.0.

  • npm install downloads WorldWind's dependencies

  • npm run build builds everything

  • npm run doc generates the WorldWind API documentation

  • npm run test runs WorldWind's unit tests

  • npm run test:watch automatically runs WorldWind's unit tests when source code changes

License

Copyright 2003-2006, 2009, 2017, United States Government, as represented by the Administrator of the National Aeronautics and Space Administration. All rights reserved.

The NASAWorldWind/WebWorldWind platform is licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

The NASA WorldWind Javascript SDK (WebWW) includes the library and examples for creating geo-browser web applications and for embedding a 3D globe in HTML5 web pages.

Topics

Resources

License

Languages

You can’t perform that action at this time.