656 Commits

Author SHA1 Message Date
David Collins
aa84b7703c Publish API documentation to gh-pages on every push to develop 2017-11-08 14:35:35 -08:00
Yann Voumard
e5660f2412 Add option for changing the crossOrigin property of image requests in TiledImageLayer #76 (#268) 2017-11-08 16:03:42 -06:00
Yves Ernotte
44b7766af2 Update BingImageryUrlBuilder.js (#73)
* Update BingImageryUrlBuilder.js

Correction of the "Bing maps key not send in the URL" issue.

* Update BingImageryUrlBuilder.js

Modify according to Yann Voumard's suggestion.
2017-11-08 15:50:51 -06:00
Endia Irizarry
1a5edd32b0
Merge pull request #283 from NASAWorldWind/prerelease-cleanup
Cleanup for the upcoming release
2017-11-08 12:44:05 -08:00
David Collins
8a1a17e00d Merge remote-tracking branch 'origin/prerelease-cleanup' into prerelease-cleanup 2017-11-08 12:12:52 -08:00
David Collins
6d24882634 Updated obsolete links in package.json and README.md 2017-11-08 12:12:44 -08:00
David Collins
7885cad707
Merge branch 'develop' into prerelease-cleanup 2017-11-08 12:02:47 -08:00
Zach Glueckert
61a4e88374 Utilize time property of layer to determine sun location on Atmosphere Layer (#282)
* Add automatic light location determination on layer time property
- See #100

* Remove lightLocation property

* Remove additional references to the lightLocation property

* Fix comment and falsy value test

* Fix comment
2017-11-08 11:59:40 -08:00
David Collins
ece40916f6 Repaired a typo in the path to jsdoc.layout.tmpl 2017-11-08 10:54:34 -08:00
David Collins
6a6593e732 Cleanup for the upcoming release
- Moved HowToBuildWebWW.md to a new Building section in README.md

- Moved HowToCreateAndRunUnitTests.md to test/README.md

- Ordered npm build scripts to group testing commands

- Moved and renamed JSDoc configuration files to clarify their purpose

- Removed design-notes with the expecation of re-establishing developer focused documentation on the website or wiki.

- Closes #258
2017-11-08 10:25:23 -08:00
Zach Glueckert
d7f8171690 Create distribution folder for generated assets (#281)
* Modify build script to write build artifacts to distribution directory
- Deposit other client consumable assets in the distribution directory
- See #280

* Remove unnecessary escape on file match

* Add clean task

* Simplify task structure

* Fix Artifactory deployment path

* Remove asset publishing directory from clean task

* Add npm clean task

* WebStorm configuration change to ignore distribution folder

* Add test-results folder as a clean target
2017-11-08 10:11:32 -08:00
Mark Peterson
a25a426cf3 Enhanced logic for recalculating SurfaceShape extents (#271) 2017-11-06 08:55:28 -08:00
Zach Glueckert
04ad540776 Refactor the examples reference method of the WorldWind library (#275)
* Add WorldWind shim as library reference
- Closes #254
- Update the WorldWind object to reference the KmlControls and KmlTreeVisibility classes
- Fix ordering of dependencies in WorldWind
2017-11-03 13:57:40 -07:00
Miguel Del Castillo
372c8b6781 Decouple SurfaceEllipse and SurfaceCircle (#255) 2017-11-03 13:47:21 -07:00
Miguel Del Castillo
01b7651bac Correctly handle SurfaceShape property changes (#266)
* Added 'resetBoundaries()' call in related SurfaceShape setters

* Added changing path types and number of edges tests in the example

* Added first test of changing a shape's polar throttle

* Corrected comment typo

* Added frame statistics layer to example

* Added layers and a shape to study polar throttling

* Modified north polar ellipse. Improved comments for the example.

* Removed unused polar throttle switching function

* Removed console.log() call

* Applied WebStorm's code reformatting
2017-11-03 13:20:05 -07:00
Yann Voumard
e709d159d4 Cleanup for the upcoming release (#273)
* Remove broken or poorly-coded apps

* Delete unused images

* Move splash-nww into examples as it isn't used in the core code
2017-11-03 11:37:57 -07:00
Endia Irizarry
94a54f7095 Fix broken NASA logo reference (#263)
Since migrating to Hugo, the path to this image changed. This error has been fixed
2017-10-31 15:22:21 -07:00
Miguel Del Castillo
e5e0f9b3db Repair SurfaceShape property changes (#260)
* Test to update state of both a placemark and a SurfaceShape ellipse
 - Placemark's position updates correctly, the ellipse heading
   is not being modified

* Modified setters for SurfaceCircle, SurfaceEllipse and SurfaceRectangle
 - Added SurfacePolygon and SurfaceSector to SurfaceShapesUpdating example

* Added function to SurfaceShape that resets boundaries
 - Cleans code for boundary recomputing

* Added resetBoundaries function to SurfaceShapes setters.

* SurfaceSector now has setters to update its state.
 - The example has been modified to reflect the changing
   SurfaceSector.
2017-10-27 16:54:36 -07:00
Mark Peterson
dabcdd1f06 Improve SurfaceShape deep picking performance (#259)
* Frustum culling incorporated into SurfaceShape

* Deep Picking stress test example

* Unit tests for new functionality in Sector and BoundingBox
2017-10-27 11:51:15 -07:00
Zach Glueckert
2852328a81 Reorder deployment tasks (#248) 2017-10-25 15:16:36 -07:00
Zach Glueckert
f378ef97a0 NPM package content whitelisting (#247) 2017-10-24 16:51:02 -07:00
Zach Glueckert
b35c51bc12 Publish npm assets to Artifactory (#237)
* Add initial file upload capability

* Refactor function naming and structure

* Add checksum validation and deployment of assets
- Deploys via checksum and on asset not being found reverts to normal file deployment

* Change to production repository target

* Refactor to remove deploy by checksum and remove async tasks

* Add windows path separator conversion to unix style in options object
- Refactor documentation and ordering

* Combine and refactor functions to reduce complexity

* Add deployment to a "latest" version on the server

* Change deployment repository to production name "web"

* Utilize TRAVIS_TAG for deployment path
- Remove limitation for it to be tagged version (starts with v)

* Fix travis environment variable name

* Refactor asset generation and deployment to different functions

* Change to predefined asset deployment directory
- File naming updates to describe functionality
- Add new predefined directories to .gitignore

* Remove extra carriage return

* Add Artifactory deployment assets to npmignore

* Remove unused npm development package

* Remove unused npm package declaration

* Refactor script naming

* Change Artifactory api key environment variable name

* Refactor initialize function inline and function ordering

* Refactor failure modes and logging

* Update documentation

* Refactor travis commands to script

* Rename scripts

* Refactor deployment function to be more generic
- Closes #244
- Changes input arguments to be more generic
- Adds protections for resolving the target path name given any source directory format (e.g. ./assetsToPath or assetsToPath/ or full path)

* Clean up command options and path formats

* Capture npm pack filename output for use in tarball extraction

* Change to join vs normalize for path construction

* Fix join syntax

* Remove attempted Windows path fix
2017-10-24 11:31:53 -07:00
Yann Voumard
a3fa824f0c Merge pull request #204 from NASAWorldWind/feature/kml-documentation-improvements
Improve KML Documentation
2017-10-18 16:28:41 +02:00
Yann Voumard
7663d74d12 Merge branch 'develop' into feature/kml-documentation-improvements 2017-10-18 16:24:54 +02:00
AkeluX
93114eca9a Review of KML documentation 2017-10-18 16:22:57 +02:00
Yann Voumard
d2568fa186 Add support for common Well-Known Text shapes (#116)
* WKT, first commit

* V 0.1 of WKT implementation.

* Initial support for Point.

* Initial support for multi shapes.

* Version 0.2 supporting MultiPolygon, MultiLineString and such.

* Version 0.3 of WKT supporting different text formats as well as the 3D component

* Initial support for inner and outer boundaries in single polygons.

* Version 0.3.1 WKT
- Explanation of current implementation
- WKTTokens returns Numbers as a Number type
- Tests for Point

* WKT Version 0.3.2
- Add tests for MultiPoint.

* Version 0.4 of WKT support
- Updated API to look like GeoJSON and Shapefile
- Cleansed the Parser
- Added documentation

* Version 0.4.1 of WKT
- Updated shape configuration callback.
- Updated documentation.

* Version 0.4.2
- Updated tests for Point and MultiPoint
- Minor bug fixes in parsing.

* Version 0.4.3
- Update Example
- Update shape production inside of the WKT objects.

* Version 0.4.4
- Update display of Point and MultiPoint as placemarks.

* Version 0.4.5
- Added tests for Polygon parsing.

* Version 0.4.6
- Added tests for Line String parsing.

* Version 0.4.7
- Added tests for Triangle parsing.
- Updated documentation for the format.

* Version 0.4.8
- Added tests for MultiLineString parsing.

* Version 0.4.8
- Added tests for MultiPolygon parsing.

* Version 0.5
- Move token handling to the objects.
- Retain only tokens parsing in the WKTTokens.

* Version 0.5.1
- Working EMPTY
- Full support for GeometryCollection

* Version 0.5.2
- Update documentation

* Version 0.6
- Support for inner and outer boundaries in the case of MultiPolygon.
- Load whole WKT on load of framework.
- Add Tests for Polygon with inner boundaries.

* Version 0.6.1
- Updated documentation

* Version 0.6.2
- Updated documentation

* Version 0.6.3
- Fix documentation not generated in jsdoc.

* Version 0.6.4
- Fix documentation not generated in jsdoc for exported object instead of class.

* Version 0.7
- Update the placemark attributes to correctly display the Point and MultiPoint.

* Version 0.7.1
- Update documentation

* Version 0.7.2
- Fix sonar issues.

* Fix tests broken due to different internal handling of the boundaries.

* Change the name of WKT from uppercase to camel case.

* Change the name of WKT from uppercase to camel case.
Simplify the Example to show one set of geometries and the usage of the callbacks

* Fix the issue #208

* Provide the default implementation and documentation for Shape configuration callback and parser completion callback.

* Add the name to the second callback function.

* Update the Well Known Text interface to comply to the Shapefile one.

* The properties should be added to this instance and not this ancestor.

* Update indentation

* Expose all the WktElements.
2017-09-28 10:16:56 +02:00
Zach Glueckert
6d0fcb824b Merge pull request #219 from NASAWorldWind/feature/handle-no-style
Use default style when none is provided.
2017-09-20 10:28:26 -05:00
Jakub Balhar
2c7b8633e9 Use default style when none is provided. 2017-09-20 09:05:13 +02:00
Zach Glueckert
216bc0786d Add npm publishing capability (#215)
- Update package.json to reflect this is a public project as required by Travis CI
- Add CHANGELOG generation script
- Add travis npm publishing task
- Add travis CHANGELOG generation task
- Add travis CHANGELOG publishing to GitHub task
2017-09-08 12:10:09 -07:00
Miguel Del Castillo
cfb251c9cc Shim file entry reference removed since 'worldwind.min.js' works now. (#212) 2017-09-01 17:10:32 -07:00
Miguel Del Castillo
8021acd31d Repackage jszip library for npm compatibility (#207)
* Unminified original jszip library

* Tested newer 2.x version of jszip built with Browserify
  - jszip Browserify test preceding AMD build with WebPack
  - Tests with .kmz files 'successfull' (i.e. same results as before)

* Changed jszip to pure AMD module built by Webpack. Still not working.

* Removed first parameter of jszip module that was introduced by Webpack.
  - This parameter caused the module to load as 'undefined'

* Added copyright notice to jszip and note regarding its creation.
2017-08-25 15:31:34 -07:00
Jakub Balhar
eac88da59b Improve the documentation of current implementation of KML by providing the support table as well as additional examples in the Markdown form. 2017-08-21 14:00:10 +02:00
eirizarry
16e4f4cc77 Updated documentation for Web WorldWind (#201)
- Added ISSUE_TEMPLATE.md which details the steps one should take in submitting an issue.
- Added PULL_REQUEST_TEMPLATE.md which details the expectations for creating a pull request.
- Updated CONTRIBUTING.md. This file replaces the HowToContribute.md file, but still includes the Design and Coding Guidelines from that file. It also includes more detail about asking questions, reporting bugs, submitting new feature suggestions, and creating pull requests for Web WorldWind. It 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.
2017-08-17 15:36:38 -07:00
eirizarry
3387ef4eed Make "WorldWind" the name standard (#200)
All instances of "World Wind" in the source code and supporting documents have been changed to "WorldWind".
2017-08-17 11:37:53 -07:00
Zach Glueckert
83e4a2cd20 Merge pull request #182 from NASAWorldWind/feature/project-cleanup
WebStorm project cleanup
2017-08-10 11:09:47 -05:00
David Collins
19892505fd Excluded local project files and build output
- Eliminates spurious changes to project files from WebStorm automatic changes.
- Excluded build output from WebStorm project search paths.
- Updated .gitignore for project files per IntelliJ guidelines:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems
2017-08-09 14:14:27 -07:00
Zach Glueckert
41c0c83ea1 Add images.zip asset generation (#181)
- This supports #170 in facilitating image asset packaging for flexible deployment options
2017-08-09 14:08:22 -07:00
Zach Glueckert
d6cf64c818 Updates for npm publication
- Modifications for npm packaging and publishing
- Change order of precedence in UMD interfaces for proj4-src
- Update proj4 library to latest version
- Add Windows WebStorm configuration file to .gitignore
- Change package.json name in order to reflect official naming and npm scoped package generation
- Add build artifacts to .npmignore
- Change order of npm tasks in Gruntfile in order to have a more cohesive pattern.
- Remove empty dependencies object from package.json
- Add search keywords
2017-08-09 15:35:52 -05:00
Zach Glueckert
e39863c995 Remove scoped npm shim changes 2017-08-09 14:20:29 -05:00
Zach Glueckert
df555403ac Merge branch 'develop' into feature/npm 2017-08-09 12:47:56 -05:00
Zach Glueckert
53f5a4b5ae Merge pull request #179 from NASAWorldWind/feature/#162-default-travis-notifications
Restored default Travis CI notifications
2017-08-09 12:46:26 -05:00
David Collins
af57b6069f Restored default Travis CI notifications
- Removed the custom notifications block from .travis.yml
- Notifying everyone on every build is now unnecessary, as GitHub protected branches and mandatory pull requests ensure that only successful builds make it into the develop and master branches
2017-08-09 10:32:23 -07:00
Miguel Del Castillo
2b2f59228d Added CRLF in .npmignore 2017-08-09 10:07:35 -05:00
Miguel Del Castillo
cdf7351f38 Commited.idea/preferred-vcs file from Windows version of WebStorm 2017-08-09 09:44:18 -05:00
Miguel Del Castillo
26a5ecd05b Removed .idea/preferred-vcs from .gitignore 2017-08-09 09:42:24 -05:00
Miguel Del Castillo
8eb69e7f6a Removed CRLF at the end of .npmignore 2017-08-09 09:39:58 -05:00
Zach Glueckert
12974ad085 Update formatting 2017-08-08 14:56:37 -05:00
Miguel Del Castillo
5ba4fd0463 First attempt to make a shim for npm packaging 2017-08-08 14:29:37 -05:00
Miguel Del Castillo
b2fc3e35e2 Added reference to ESA in search keywords 2017-08-08 14:12:50 -05:00
Miguel Del Castillo
c1755da9bb Merge remote-tracking branch 'origin/feature/npm' into feature/npm 2017-08-08 11:39:35 -05:00