237 Commits

Author SHA1 Message Date
Mark Peterson
5ffe2dfc54
Switch OSM to internal server (#902)
Co-authored-by: markpet42 <mark.e.peterson@nasa.gov>
2025-09-20 00:17:46 -07:00
Miguel Del Castillo
aa13d8fdc1
Reverted WKT coordinate parsing to first read latitude and then longitude (#877)
* Changed WKT parent object to read coordinates as lat-long

* Changed WKT unit test to receive coordinates as 'lat,long'

* Styled Custom WKT string entry textbox to align it with the Destination one

* Reordered tags for WKT entry button
2022-05-10 12:34:33 -05:00
markpet49
36b97c1f3d Fix for picking transparent placemarks 2022-04-29 20:12:36 -05:00
markpet49
0880ba07b2 Code formatting 2020-09-21 14:19:43 -05:00
Miguel Del Castillo
4427bee776 Added comments and separated blocks of code to intersection section 2020-09-21 13:24:21 -05:00
markpet49
00aed52527 Cleaned up version of collada pickray intersection code. 2020-09-16 18:52:35 -05:00
markpet49
4b4914027e Add the ability to get locations of a click on a Collada model 2020-09-13 21:35:23 -05:00
Mark Peterson
07db0fcc0a
License update (#830) 2020-08-12 17:28:51 -05:00
Miguel Del Castillo
8343193250
Fix/release candidate fixes (#829)
* Added charset tag and note on 3rd party libraries to HTML files that lacked them

* Commented out a debugging console.log message that returns the GetCapabilities document

* Updated README for v0.10.0 RC. Updated npm packages.

* 0.10.0

* Corrected typo.
2020-08-12 14:47:46 -05:00
Miguel Del Castillo
13e6b74e73
Corrected outdated references for BlueMarbleTimeSeries and WMTS examples (#820)
* Corrected outdated references for BlueMarbleTimeSeries and WMTS examples
 - Time series data now resides in our web server instead of worldwind32
 - WMTS example now petitions from an EOSDIS NASA endpoint. Previous DLR service is denying requests now.
   Note: Attempted to use the service:
   https://gibs.earthdata.nasa.gov/wmts/epsg4326/best/wmts.cgi?SERVICE=WMTS&request=GetCapabilities
   but it produced errors probably due to our TODO items in WmtsLayer.

* Executed code formatting tool
2020-07-09 23:29:56 -05:00
Miguel Del Castillo
054ff831da Refactored Standalone example as the Offline app (#767)
* Refactored Standalone example as the Offline app

* Updated Standalone data bundle URL

* Updated conf file reflecting new name and location of Offline app

* Delete duplicate Offline configuration file
2019-10-16 13:34:25 -07:00
Yann Voumard
fc7cc7d099
Recenter view and add missing metadata for new GeoTIFF example file (#779) 2018-09-05 21:15:30 +02:00
Jakub Balhar
0d10a99144 Heatmap Layer (#628) 2018-08-17 16:05:23 +02:00
Claudia Ifrim
f7a6e19fc5 add meta tag for charset - examples (#777) 2018-07-24 18:32:09 -05:00
Miguel Del Castillo
c990ca90dc Repaired BlueMarbleTimeSeries Examples (#765)
* Repaired the Blue Marble time series example

* Slight modifications to BlueMarbleTimeSeries fix

 - Moved the UI layer creation to the top. This is uncharacteristic
   compared with other examples, but this part broke the flow of the
   narration of the example when it was positioned in the middle. Due
   to technical necessities, the AtmosphereLayer creation is still
   in the same location, though.

 - URL of REST imagery is now in another line to make it inmmediately
   readable.

 - Added a comment regarding the animation interval.
2018-06-29 09:58:15 -07:00
Miguel Del Castillo
96c4f70f19 Refactored ScreenText Example (#764)
* Refactored ScreenText example

 - Eliminated offset modification after creation. It exposed the
   mutable nature of the TextAttributes.offset.

 - Changed its focus at the end. Showcased how TextAttributes.offset
   can be used for text alignment.

* Removed common TextAttributes object to use default attributes instead

* Corrected previously missing whitespace
2018-06-28 12:22:38 -07:00
Miguel Del Castillo
6028768338 StarField example refactored as "Night Sky Animation" (#753)
* Made example to initiate simulation without user interaction
 - Removed code that pertained to UI checkbox.
 - Added BMNGOneImageLayer to avoid seeing the atmosphere without an
   Earth when the application is loading.
 - Removed factor from the time advancement simulation

* Change animation mechanism to the standard requestAnimationFrame

* Changed the animation mechanism to account for different framerates

* Moved requestAnimationFrame to the beginning

* Changed StarField example name to fit its new focus

* Changed example name

* Removed ability to control animation to simplify example

* Changed example name to Night Sky Animation

* Deleted Sun Simulation example
 - Deleted unused configuration files and created a new one to fit the
   new name of the example.

* Adjustments to @Beak-man's new night sky animation example

* Improved some comments

* Repositioned comment that refers to the animation
2018-06-26 15:50:09 -07:00
Miguel Del Castillo
fc8cbd58e6 Moved NDVIViewer from 'Examples' to 'Apps' folder (#762)
* Moved NDVIViewer from 'Examples' to 'Apps'

* Ran code formatting tool. Corrected coercive comparison operators.
2018-06-26 10:17:32 -07:00
Patrick Hogan
09c81f862e Update 2018-06-21 19:03:59 -07:00
Patrick Hogan
44a32a6501 Update 2018-06-21 18:45:33 -07:00
Miguel Del Castillo
cec91c96c5 Corrected examples names (#754)
Use "WorldWind _______ Example" as naming standard.
2018-06-21 14:47:21 -07:00
Miguel Del Castillo
6481e6d826 Improvements on clarity and documentation for 5 examples (#735)
* Improved readability and documentation in SurfaceShapes and GeoJSONExporter

* Ran code formatting

* Improved readability and documentation of Measurements example

* Removed TODO comment

* Improved PickAllShapesInRegion readability and documentation
2018-06-21 12:41:22 -07:00
Miguel Del Castillo
3101cea6d1 Improvements to documentation in 3 examples (#750)
* Added documentation to Shapefiles

* Added documentation to TriangleMeshes

* Added documentation to Well-Known Text example

* Changed capitalization of WKT example file name

* Changed highlights colors in order to show light shading more clearly
2018-06-18 15:03:34 -07:00
Endia Irizarry
d41b27b8a6 Clarification for ScreenText Example (#752)
* Add issue template for submitting issues

* Add pull request template

* Change "Note:" in pull request template

* Change "Note:" in pull request template

* Add CONTRIBUTING.md

- This CONTRIBUTING.md replaces "HowToContribute.md". The content in "HowToContribute.md" replaced, but merely ported to the new CONTRIBUTING.md.
- This document explains the expectations for contributing to the Web WorldWind repository. It includes information on how to submit a bug report, new feature suggestion, or a pull request.
- It also guides the user on the appropriate way to contact the WorldWind team with questions.

* Move contributing list under correct heading.

The list to contributing to Web WorldWind (reporting a bug, suggesting a new feature, creating a pull request) was under the wrong heading (Asking Questions). It is now under Contributing.

* Fix spacing

* Add bullet points

* Update CONTRIBUTING.md

Add bullet points to table of contents.

* Update CONTRIBUTING.md

- Deleted the opening sentences which offer an invitation to change WorldWind standards.
- Add Resources content about the WorldWind website, forum, and administrative contact.

* Fix spacing in CONTRIBUTING.md

- Fixed spacing in the last lines of CONTRIBUTING.md so that they are double-spaced.

* Fix email link in CONTRIBUTING.md

* Change "World Wind" to "WorldWind"

* Add edits to ScreenText example

- Clarifies ScreenText code
- Shortens ScreenText by giving fewer examples

* Modified comments and removed unneeded offset assignment

* Changed comment
2018-06-18 17:01:28 -05:00
Miguel Del Castillo
03b0523842
Readability and documentation enhancements in five examples (#731)
* Updated GeoTiffExample with commments and increased readability

* Updated GoToLocation with commments and increased readability
 - The example's picking is not working.

* Updated Paths with commments and increased readability

* Updated RefreshImagery with commments and increased readability

* Updated SurfaceImage with commments and increased readability
 - Removed picking functionality for the sake of brevity and consistence.
 - Picking wasn't working.

* Renamed GeoTiffExample and KmlExample to GeoTiff and KML
2018-06-05 14:35:19 -05:00
Miguel Del Castillo
cf51550729 Simplified placemark position assignment. Corrected comment typo. (#732)
* Simplified placemark position assignment. Corrected comment typo.

* Shortened comment.
2018-06-05 10:40:42 -07:00
Miguel Del Castillo
c8128929f0 Move layer manager to the end of examples (from Paths to WMTS) (#728)
* Moved LayerManager creation at the end of each example (From Paths to WMTS)

* Ran code formatting tool and eliminated superfluous whitespace

* Eliminated whitespace at the end
2018-06-04 14:01:06 -07:00
Endia Irizarry
ca3f7f68b5 Move layer manager to the end of examples from Annotations to ParseURL (#727)
* Add issue template for submitting issues

* Add pull request template

* Change "Note:" in pull request template

* Change "Note:" in pull request template

* Add CONTRIBUTING.md

- This CONTRIBUTING.md replaces "HowToContribute.md". The content in "HowToContribute.md" replaced, but merely ported to the new CONTRIBUTING.md.
- This document explains the expectations for contributing to the Web WorldWind repository. It includes information on how to submit a bug report, new feature suggestion, or a pull request.
- It also guides the user on the appropriate way to contact the WorldWind team with questions.

* Move contributing list under correct heading.

The list to contributing to Web WorldWind (reporting a bug, suggesting a new feature, creating a pull request) was under the wrong heading (Asking Questions). It is now under Contributing.

* Fix spacing

* Add bullet points

* Update CONTRIBUTING.md

Add bullet points to table of contents.

* Update CONTRIBUTING.md

- Deleted the opening sentences which offer an invitation to change WorldWind standards.
- Add Resources content about the WorldWind website, forum, and administrative contact.

* Fix spacing in CONTRIBUTING.md

- Fixed spacing in the last lines of CONTRIBUTING.md so that they are double-spaced.

* Fix email link in CONTRIBUTING.md

* Change "World Wind" to "WorldWind"

* Add layer manager to the end of examples
2018-06-04 15:34:08 -05:00
Miguel Del Castillo
a5da163524
Documentation improvement of four examples (#716)
* Improved documentation on Collada example

* Improved documentation on DeepPicking example.

* Improved documentation on GeographicMeshes example.

* Improved documentation on GeographicText example.
 - Created a separate file to store data array of US peaks.

* Modified comment on GeographicTextPeaks

* Removed US Peaks array, left Colorado peaks only for the sake of brevity

* Added camera zooming feature to showcase decluttering feature.
 - Removed obsolete module reference.
 - Added altitude to the text labels.
 - Removed state from text labels.

* Changed peaks to Oregon State.

* Removed whitespace in peaks array for the sake of brevity
2018-05-31 11:04:39 -05:00
Endia Irizarry
cb6661d6d3 Improved documentation for ParsingURLArguments and Custom Placemarks Examples (#715)
* Add issue template for submitting issues

* Add pull request template

* Change "Note:" in pull request template

* Change "Note:" in pull request template

* Add CONTRIBUTING.md

- This CONTRIBUTING.md replaces "HowToContribute.md". The content in "HowToContribute.md" replaced, but merely ported to the new CONTRIBUTING.md.
- This document explains the expectations for contributing to the Web WorldWind repository. It includes information on how to submit a bug report, new feature suggestion, or a pull request.
- It also guides the user on the appropriate way to contact the WorldWind team with questions.

* Move contributing list under correct heading.

The list to contributing to Web WorldWind (reporting a bug, suggesting a new feature, creating a pull request) was under the wrong heading (Asking Questions). It is now under Contributing.

* Fix spacing

* Add bullet points

* Update CONTRIBUTING.md

Add bullet points to table of contents.

* Update CONTRIBUTING.md

- Deleted the opening sentences which offer an invitation to change WorldWind standards.
- Add Resources content about the WorldWind website, forum, and administrative contact.

* Fix spacing in CONTRIBUTING.md

- Fixed spacing in the last lines of CONTRIBUTING.md so that they are double-spaced.

* Fix email link in CONTRIBUTING.md

* Change "World Wind" to "WorldWind"

* Comments for ParseURLArguments example

* Enhanced comments for Custom Placemark example

* Repositioned code to increase clarity and readability.
 - Removed previous multiple PlacemarkAttributes object creation.
2018-05-30 15:30:53 -07:00
Endia Irizarry
bd65ee8080 Add atmosphere layer to black background to all examples (#713)
* Changed background color to black in most examples

* Add atmosphere layer to all examples

* Move atmosphere layer to show inner shading on all layers.

* Added comment pointing out importance of adding the atmosphere layer at the end
2018-05-30 15:21:58 -07:00
Endia Irizarry
22eb1bba83 Add descriptions to examples from Annotations to ParseURL (#718)
* Add issue template for submitting issues

* Add pull request template

* Change "Note:" in pull request template

* Change "Note:" in pull request template

* Add CONTRIBUTING.md

- This CONTRIBUTING.md replaces "HowToContribute.md". The content in "HowToContribute.md" replaced, but merely ported to the new CONTRIBUTING.md.
- This document explains the expectations for contributing to the Web WorldWind repository. It includes information on how to submit a bug report, new feature suggestion, or a pull request.
- It also guides the user on the appropriate way to contact the WorldWind team with questions.

* Move contributing list under correct heading.

The list to contributing to Web WorldWind (reporting a bug, suggesting a new feature, creating a pull request) was under the wrong heading (Asking Questions). It is now under Contributing.

* Fix spacing

* Add bullet points

* Update CONTRIBUTING.md

Add bullet points to table of contents.

* Update CONTRIBUTING.md

- Deleted the opening sentences which offer an invitation to change WorldWind standards.
- Add Resources content about the WorldWind website, forum, and administrative contact.

* Fix spacing in CONTRIBUTING.md

- Fixed spacing in the last lines of CONTRIBUTING.md so that they are double-spaced.

* Fix email link in CONTRIBUTING.md

* Change "World Wind" to "WorldWind"

* Add description to examples from annotations to parseURL

* Fix measurements' description

* Clarify example descriptions

* Clarify example descriptions
2018-05-30 14:49:17 -05:00
Miguel Del Castillo
c22a01d1b4 Adds descriptions to examples that were lacking one (#717) 2018-05-30 12:41:51 -07:00
Miguel Del Castillo
7fcd884a00 Corrected logger level comment to reflect that it logs both warnings and errors (#711) 2018-05-23 14:05:33 -07:00
Miguel Del Castillo
f783e29da3 Updated Atmosphere example to improve clarity and readability (#706)
* Updated documentation and repositioned code to improve clarity

* Removed ability to control animation to simplify example

* Changed file names to SunSimulation

* Modified documentation to reflect focus on the Sun simulation

* Corrected comment about simulation interval
2018-05-23 13:24:50 -07:00
Endia Irizarry
52b1106a58 Commented boilerplate code for examples (from Annotations to ParseURLArgs). (#710)
* Add issue template for submitting issues

* Add pull request template

* Change "Note:" in pull request template

* Change "Note:" in pull request template

* Add CONTRIBUTING.md

- This CONTRIBUTING.md replaces "HowToContribute.md". The content in "HowToContribute.md" replaced, but merely ported to the new CONTRIBUTING.md.
- This document explains the expectations for contributing to the Web WorldWind repository. It includes information on how to submit a bug report, new feature suggestion, or a pull request.
- It also guides the user on the appropriate way to contact the WorldWind team with questions.

* Move contributing list under correct heading.

The list to contributing to Web WorldWind (reporting a bug, suggesting a new feature, creating a pull request) was under the wrong heading (Asking Questions). It is now under Contributing.

* Fix spacing

* Add bullet points

* Update CONTRIBUTING.md

Add bullet points to table of contents.

* Update CONTRIBUTING.md

- Deleted the opening sentences which offer an invitation to change WorldWind standards.
- Add Resources content about the WorldWind website, forum, and administrative contact.

* Fix spacing in CONTRIBUTING.md

- Fixed spacing in the last lines of CONTRIBUTING.md so that they are double-spaced.

* Fix email link in CONTRIBUTING.md

* Change "World Wind" to "WorldWind"

* Commented boilerplate code

* Correct comments for boilerplate code

* Fix indentation in Collada Example
2018-05-23 15:00:08 -05:00
Miguel Del Castillo
71b431bc26 Commented boilerplate code for examples (from Paths to WMTS). (#709)
* Commented WorldWindow boilerplate (logger and layer creation and addition).

* Corrected comment in StarField
2018-05-23 12:50:08 -07:00
Miguel Del Castillo
96cd93e089 Added comments to the example (#707) 2018-05-22 17:03:07 -07:00
Miguel Del Castillo
f389b57d38 Added punctuation to comments and corrected a typo (#708) 2018-05-22 16:56:56 -07:00
Claudia Ifrim
ac24121f09 Improve the GeoJSON example (#651) 2018-05-22 19:07:07 +02:00
David Collins
3e5f611dbe
Updated the Standalone example elevation coverage (#655)
EarthRestElevationCoverage, the coverage used by Standalone.html, was out of date after recent changes to TiledElevationCoverage. Updated this coverage implementation to correctly retrieve standalone elevation tiles.
2018-04-30 16:45:48 -07:00
Mark Peterson
20973fe978 Initial elevation coverage composition (#580)
The first iteration of changes required to move toward fulfilling the requirements of issue #422.
2018-04-05 14:35:44 -07:00
Claudia Ifrim
8ce4bb04a7 Add an exporter for GeoJSON (#298) 2018-03-27 17:35:52 +02:00
Claudia Ifrim
464eeabf80 Add an exporter for WKT (#400) 2018-03-27 17:32:17 +02:00
Zach Glueckert
1e48c0a904 Add GeoTiff parsing to ElevationModel and WcsEarthElevationModel (#493)
* Add WCS GeoTiff elevation support

* Fix parameter documentation

* Revert addition of read from array method

* Add capability to construct GeoTiffReader from URL or ArrayBuffer
- Modifies ElevationModel data retrieval handling for GeoTiffs

* Revise GeoTiffReader API
- Constructor takes ArrayBuffer and parses
- Provides synchronous image a data retrieval
- Add utility method with asynchronous XML HTTP Request

* Clean up variable naming, formatting, and other conventions

* Update naming and refactor callback to match library convention

* Remove old comments

* Fix one property accessor

* Provide full xhr object on failure and success callbacks

* Add grayscale and rgb retrieval unit tests

* Add logging message
2018-03-14 10:23:14 -07:00
David Collins
cf61b61500
Added the EOX based OpenStreetMapImageLayer to BasicExample (#488) 2018-02-23 14:01:13 -08:00
Claudia Ifrim
ab291856be Add loading spinner to the GeoTIFF example (#448) 2018-02-22 18:49:50 +01:00
Yann Voumard
a9673f84d0
Merge branch 'develop' into feature/kmz-embedded-resources 2018-02-22 18:21:13 +01:00
Yann Voumard
8bb00d9567 Add option for configuring the resampling mode of surface images (#267)
* Add resampling mode to surface images

* Move the constants into the WorldWind class
Extract methods handling the texture parameters
Complete the documentation

* Enable anisotropic texture filtering only for textures with linear filtering

* Remove broken links in JSDoc

* Load the anisotropic filter extension only once per texture

* Use faster function check for clearing the texture parameters
2018-02-21 09:52:43 -08:00
jbalhar
314a6aab86 Merge branch 'develop' into feature/kmz-embedded-resources 2018-02-21 08:36:44 +01:00