153 Commits

Author SHA1 Message Date
David Collins
3686c4c093 Repaired atmosphere layer clipping
- Adjusted Web WorldWind's far clip distance computation to match that of WorldWind Android.
- The resultant distance correctly captures the distance between the globe's horizon and the atmosphere's horizon.
- Brought the Atmosphere example's canvas size into convention with the other examples.
2017-08-05 10:21:37 -07:00
Miguel Del Castillo
123415de3e Feature/build suggestions (#153)
* Extend package.json with additional metadata
Add command scripts in package.json
Update the dev dependencies
Update GruntSetup.txt, which should be moved to README.md eventually

* Remove unused third party libraries

* Remove build.js use ‘npm run build’ or ‘grunt’ instead

* Start cleaning the root folder (test-main.js)

* Updated markdown build guide to reflect the new streamlined build process

 - Added package-lock.json file generated by npm. It is suggested to
   commit it into the repository.
   See: https://docs.npmjs.com/files/package-lock.json

 - Removed build.js from Gruntfile.js. It's unnecessary now thanks to the
   new build process.

 - package.json had spaces in "type" and "url" declarations that
   were automatically removed in build process.

 - Added .idea/ folder to .gitignore. Consider removing the folder from
   the repository altogether.

* Removed zip file compress task from build process.

* Removed grunt-contrib-compress node module from package.json

 - The module is an unused dependency now, since we're not going to
   backup the whole codebase + artifacts in a zip file anymore.

* Removed .idea/ folder mistakenly added to .gitignore.

 - Only files that are unrelated to run configurations are added to
   gitignore.

* Further corrections to .gitignore. Removed WebWorldWind.zip reference.

* Further corrections to .gitignore. Removed WebWorldWind.zip reference.

* .gitignore cleanup. .iml file correction.
2017-06-30 10:53:30 -07:00
zglueck
958d06bd04 Update NEO WMS url 2017-06-14 10:49:52 -04:00
Jakub Balhar
6587dde672 Correct path to the KML example 2017-06-05 08:14:38 +02:00
Jakub Balhar
4755a191b4 Merge branch 'develop' into feature/kml-clamp-to-ground
# Conflicts:
#	src/formats/kml/geom/KmlLineString.js
#	src/formats/kml/geom/KmlPolygon.js
2017-06-05 08:14:18 +02:00
Beak-man
27ae0d291c Merged develop into fix/blueMarbleLayer_refactor to resolve conflicts 2017-06-02 14:08:47 -05:00
Beak-man
9ccbbb6914 Reverted Standalone example to simpler version with BMNGRestLayer
- Removed previous RestTiledImageLayer, since it was rendered redundant
   with the new BMNGRestLayer.

 - Simplified usage of BMNGRestLayer, removing code related to making it
   work as a time series. This use case is covered in the
   BlueMarbleTimeSeries example.

Regarding documentation:

 - Corrected outdated reference in GruntSetup guide. JSDocs is no longer
   in beta.
2017-06-02 10:59:45 -05:00
Beak-man
ef1b99ce00 Minor changes to Annotations example to make it more easy to read
- Some typos in the AnnotationController's comments were corrected
- Typo corrected in ShapefilesComplex.js filename (the "F" is now
  correctly capitalized).
2017-06-01 17:46:40 -05:00
Beak-man
59c52054bb BlueMarbleLayer refactored into BMNGRestLayer.
- BlueMarbleLayer name changed into BMNGRestLayer since the former
   was sometimes confused with BMNGLayer as the most regularly used
   layer based off Blue Marble Next Generation imagery.
 - The above class was modified in its constructor in order to be more
   in line with the other 'Rest-' layers. Now it can receive parameters
   regarding server address and path for data retrieval. Now it can be
   configured to retrieve its imagery either from worldwindserver.net
   (by default) or from a local folder.

 Two examples are making use of this layer:

 - The BlueMarbleTimeSeries example now retrieves its data from NASA's
   server, so it works 'right out of the box' without the need to
   download the standalone data package from World Wind server.
 - The 'Standalone' example now makes use of BMNGRestLayer configured
   to retrieve its data from a local folder.

 Related to issue #125
2017-06-01 12:31:24 -05:00
Beak-man
71bb341ee8 Simplified, enhanced and debugged Annotations example. Other minor example fixes
- BlueMarbleTimeSeries example now has notice of the requirement of
    local data.
  - DigitalGlobe example now has notice about its example key expiration.
  - ShapeFilesComplex and SurfaceShapesComplex examples were given their
    corresponding .html files and were moved to the '/performance' folder.
2017-05-31 15:50:33 -05:00
Jakub Balhar
02dd4bdd5c LineString and Polygon are displayed as Surface ones, when clampToGround is used. 2017-05-22 10:02:18 +02:00
David Collins
3566f8c4f7 Merge pull request #86 from NASAWorldWind/feature/starfield
Add starfield layer
2017-05-15 16:25:23 -07:00
strikerM
9504d6d840 refactored CelestialProjection to SunPosition 2017-04-05 12:55:48 +03:00
yvoumard
9b32217a07 Added style map to KML example 2017-03-31 08:52:12 +01:00
strikerM
c78ce6ae53 added the Sun to the StarFieldLayer 2017-03-28 10:35:25 +03:00
Zach Glueckert
993da22408 Refactor failure anonymous callback to function expression 2017-02-23 15:59:12 -05:00
Zach Glueckert
26ec54d576 Add semicolons to console.log statement 2017-02-23 11:04:03 -05:00
Zach Glueckert
c8e38c97c4 Move OGC standards to applicable folders
-Add call back to failure call in WMTS and WMS examples
2017-02-23 10:48:18 -05:00
Zach Glueckert
f19d523e99 Merge branch 'develop' into feature/wms-example 2017-02-23 09:22:13 -05:00
Zach Glueckert
11dce933d6 Merge branch 'develop' of https://github.com/NASAWorldWind/WebWorldWind into develop 2017-02-23 09:21:55 -05:00
Zach Glueckert
9d3c7f3464 Refactor failure and document retrieval handling 2017-02-22 22:15:51 -05:00
Zach Glueckert
13ea3bd98f Refactor WMS and WMTS asynchronous document retrieval 2017-02-22 15:39:54 -05:00
strikerM
bacdecb5bb replaced gaia data with hipparcos
moved stars.json to images folder
reverted the longitude formula to "180 - normalizeAngle(GMST - ra)"
2017-02-22 11:10:45 +02:00
Zach Glueckert
8c12833494 Refactor example to use jQuery for retrieving WMS GetCapabilities document 2017-02-21 21:24:24 -05:00
David Collins
27178309c2 Merge pull request #58 from ESAFastPrototyping/feature/measurements
Length Measurer
2017-02-21 09:04:47 -08:00
David Collins
c34bebb3f8 Merge pull request #71 from NASAWorldWind/feature/polygon_splitter
Feature/polygon splitter
2017-02-17 15:35:50 -08:00
Zach Glueckert
8c4d4ded3b Fix unterminated statements 2017-02-17 15:04:36 -05:00
Zach Glueckert
4c8060f952 Add WMS example 2017-02-17 15:01:24 -05:00
Zach Glueckert
be0359c663 Remove WMTS applications 2017-02-17 14:10:58 -05:00
strikerM
d0d9ae1bb7 updated documentation, example and stars.json
extract ra, dec and vmag indexes from the metadata of the stars.json
2017-02-08 10:06:07 +02:00
strikerM
f79abe5f16 refactor code, added comments and license headers 2017-01-12 10:38:47 +02:00
strikerM
5b77742dc9 Star Field initial implementation 2017-01-11 09:58:18 +02:00
nicolasvila
8e435c8a3d Merge remote-tracking branch 'origin/master' into wmts
Conflicts:
	apps/WMTS/WMTS_ESRI.html
2017-01-09 10:57:28 +01:00
pdavidc
70e0bfd772 Removed defunct OpenStreetMapLayer from examples 2016-12-23 16:05:40 -08:00
pdavidc
3a3c3db049 Updated apps and examples to use HTTPS wherever possible 2016-12-23 15:56:50 -08:00
pdavidc
eccd32750f Updated references to worldwindlib.js with worldwind.min.js, per #36 and #62 2016-12-23 15:08:12 -08:00
strikerM
72dbd935c4 undo examples modifications
removed unused param preventClose in SurfaceShape.prototype.interpolateLocations
2016-12-19 13:28:28 +02:00
strikerM
121bfdca4f refactored polygon splitter code
added a HashMap class
added tests
2016-12-19 12:04:10 +02:00
strikerM
a1e7b3d873 surface shapes performance rendering,
new poly splitter code for multi dim boundaries
2016-12-08 23:50:25 +02:00
Nicolas Vila
c339ae69a1 Removed TMS from wmts branch 2016-10-18 00:24:42 +02:00
Nicolas Vila
2988a4e0e4 Merge branch 'master' into wmts 2016-10-17 21:10:57 +02:00
zecoyote007
60f2919246 Merge branch 'master' of https://github.com/NASAWorldWind/WebWorldWind 2016-10-17 16:22:29 +02:00
strikerM
4e17293856 added AreaMeasurer
code refactor and cleanup
2016-10-10 12:13:54 +03:00
strikerM
0560b9dba1 fixed a bug in the calculation
added a method to computer the great circle rhumb and linear distance
2016-09-30 11:50:40 +03:00
strikerM
3a1a3a89dc added LengthMeasurer class 2016-09-02 13:23:03 +03:00
Sirac Remi
4fa096b7ee Added TmsLayerCapabilities and one 'doc' example 2016-07-21 08:56:09 +02:00
Sirac Remi
b70929bcc7 Rename 'url' to 'service' to be consistent with WMS 2016-07-20 10:34:30 +02:00
Sirac Remi
59dbbb1476 Change matrixset name in WMTS.js example 2016-07-19 15:52:59 +02:00
Sirac Remi
be437b6640 WMTS Layer with config parameter + WmtsLayerCaps useless + previous examples moved to apps/ + new basic example 2016-07-12 11:53:28 +02:00
Sirac Remi
3f2789d579 Harmonization in constructor WmtsLayerCaps 2016-07-04 11:55:50 +02:00