diff --git a/CHANGES.md b/CHANGES.md index 014e43d5eea2..8455bb3c240a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -20,18 +20,19 @@ Change Log * The following options to `Camera.setView` have been deprecated and will be removed in 1.17: * `position`: use `destination` instead. * `positionCartographic`: convert to a `Cartesian3` and use `destination` instead. - * `heading`, `pitch` and `roll`: use `orientation.heading/pitch/roll` instead. + * `heading`, `pitch` and `roll`: use `orientation.heading/pitch/roll` instead. * Decreased GPU memory usage in `BillboardCollection` and `LabelCollection` by using the WebGL ANGLE_instanced_arrays extension. * Added CZML examples to Sandcastle. See the new CZML tab. * Fixed token issue in `ArcGisMapServerImageryProvider`. * `ImageryLayerFeatureInfo` now has an `imageryLayer` property, indicating the layer that contains the feature. * Added `BoxOutlineGeometry.fromAxisAlignedBoundingBox` and `BoxGeometry.fromAxisAlignedBoundingBox` functions. * Switched to [gulp](http://gulpjs.com/) for all build tasks. `Java` and `ant` are no longer required to develop Cesium. [#3106](https://github.com/AnalyticalGraphicsInc/cesium/pull/3106) -* The WebGL setting of `failIfMajorPerformanceCaveat` now defaults to `false`, which is the official WebGL default. This improves compatibility with out-of-date drivers and remote desktop sessions. Cesium will run slower in these cases instead of simply failing to load. -* Changed `Camera.setView` to take the same parameter options as `Camera.flyTo`. `options.destination` takes a rectangle, `options.orientation` works with heading/pitch/roll or direction/up, and `options.endTransform` was added. -* Fixed the issue where the camera inertia takes too long to finish causing the camera move events to fire after it appears to. [2839](https://github.com/AnalyticalGraphicsInc/cesium/issues/2839) -* Updated `requirejs` from 2.1.9 to 2.1.20. -* Updated `almond` from 0.2.6 to 0.3.1. +* The WebGL setting of `failIfMajorPerformanceCaveat` now defaults to `false`, which is the official WebGL default. This improves compatibility with out-of-date drivers and remote desktop sessions. Cesium will run slower in these cases instead of simply failing to load. [#3108](https://github.com/AnalyticalGraphicsInc/cesium/pull/3108) +* Changed `Camera.setView` to take the same parameter options as `Camera.flyTo`. `options.destination` takes a rectangle, `options.orientation` works with heading/pitch/roll or direction/up, and `options.endTransform` was added. [#3100](https://github.com/AnalyticalGraphicsInc/cesium/pull/3100) +* Fixed the issue where the camera inertia takes too long to finish causing the camera move events to fire after it appears to. [#2839](https://github.com/AnalyticalGraphicsInc/cesium/issues/2839) +* Make KML invalid coordinate processing match Google Earth behavior. (#3124)[https://github.com/AnalyticalGraphicsInc/cesium/pull/3124] +* Updated `requirejs` from 2.1.9 to 2.1.20. [#3107](https://github.com/AnalyticalGraphicsInc/cesium/pull/3107) +* Updated `almond` from 0.2.6 to 0.3.1. [#3107](https://github.com/AnalyticalGraphicsInc/cesium/pull/3107) ### 1.14 - 2015-10-01 diff --git a/Source/Core/loadJsonp.js b/Source/Core/loadJsonp.js index f52c2483ce8f..324fcc364246 100644 --- a/Source/Core/loadJsonp.js +++ b/Source/Core/loadJsonp.js @@ -1,22 +1,22 @@ /*global define*/ define([ - '../ThirdParty/Uri', - '../ThirdParty/when', - './combine', - './defaultValue', - './defined', - './DeveloperError', - './objectToQuery', - './queryToObject' -], function( - Uri, - when, - combine, - defaultValue, - defined, - DeveloperError, - objectToQuery, - queryToObject) { + '../ThirdParty/Uri', + '../ThirdParty/when', + './combine', + './defaultValue', + './defined', + './DeveloperError', + './objectToQuery', + './queryToObject' + ], function( + Uri, + when, + combine, + defaultValue, + defined, + DeveloperError, + objectToQuery, + queryToObject) { "use strict"; /** diff --git a/Source/DataSources/EntityView.js b/Source/DataSources/EntityView.js index be8fecdd738d..74c14a37cf41 100644 --- a/Source/DataSources/EntityView.js +++ b/Source/DataSources/EntityView.js @@ -8,12 +8,12 @@ define([ '../Core/defineProperties', '../Core/DeveloperError', '../Core/Ellipsoid', + '../Core/HeadingPitchRange', '../Core/JulianDate', '../Core/Math', '../Core/Matrix3', '../Core/Matrix4', '../Core/Transforms', - '../Core/HeadingPitchRange', '../Scene/SceneMode' ], function( BoundingSphere, @@ -24,12 +24,12 @@ define([ defineProperties, DeveloperError, Ellipsoid, + HeadingPitchRange, JulianDate, CesiumMath, Matrix3, Matrix4, Transforms, - HeadingPitchRange, SceneMode) { "use strict"; diff --git a/Source/Scene/ArcGisMapServerImageryProvider.js b/Source/Scene/ArcGisMapServerImageryProvider.js index f554e71c3b7c..b81ecc122a9e 100644 --- a/Source/Scene/ArcGisMapServerImageryProvider.js +++ b/Source/Scene/ArcGisMapServerImageryProvider.js @@ -11,8 +11,8 @@ define([ '../Core/Event', '../Core/GeographicProjection', '../Core/GeographicTilingScheme', - '../Core/loadJsonp', '../Core/loadJson', + '../Core/loadJsonp', '../Core/Math', '../Core/Rectangle', '../Core/TileProviderError', @@ -34,8 +34,8 @@ define([ Event, GeographicProjection, GeographicTilingScheme, - loadJsonp, loadJson, + loadJsonp, CesiumMath, Rectangle, TileProviderError, diff --git a/Source/Scene/Camera.js b/Source/Scene/Camera.js index fc6d69ec5d05..2bfbfe0ae46e 100644 --- a/Source/Scene/Camera.js +++ b/Source/Scene/Camera.js @@ -5,14 +5,15 @@ define([ '../Core/Cartesian4', '../Core/Cartographic', '../Core/defaultValue', - '../Core/deprecationWarning', '../Core/defined', '../Core/defineProperties', + '../Core/deprecationWarning', '../Core/DeveloperError', '../Core/EasingFunction', '../Core/Ellipsoid', '../Core/EllipsoidGeodesic', '../Core/Event', + '../Core/HeadingPitchRange', '../Core/IntersectionTests', '../Core/Math', '../Core/Matrix3', @@ -22,7 +23,6 @@ define([ '../Core/Rectangle', '../Core/Transforms', './CameraFlightPath', - '../Core/HeadingPitchRange', './PerspectiveFrustum', './SceneMode' ], function( @@ -31,14 +31,15 @@ define([ Cartesian4, Cartographic, defaultValue, - deprecationWarning, defined, defineProperties, + deprecationWarning, DeveloperError, EasingFunction, Ellipsoid, EllipsoidGeodesic, Event, + HeadingPitchRange, IntersectionTests, CesiumMath, Matrix3, @@ -48,7 +49,6 @@ define([ Rectangle, Transforms, CameraFlightPath, - HeadingPitchRange, PerspectiveFrustum, SceneMode) { "use strict"; diff --git a/Source/Scene/HeadingPitchRange.js b/Source/Scene/HeadingPitchRange.js index fff136c6a3ff..659be86d488f 100644 --- a/Source/Scene/HeadingPitchRange.js +++ b/Source/Scene/HeadingPitchRange.js @@ -1,10 +1,10 @@ /*global define*/ define([ - '../Core/HeadingPitchRange', - '../Core/deprecationWarning' + '../Core/deprecationWarning', + '../Core/HeadingPitchRange' ], function( - CoreHeadingPitchRange, - deprecationWarning) { + deprecationWarning, + CoreHeadingPitchRange) { "use strict"; /** diff --git a/Specs/Core/HeadingPitchRangeSpec.js b/Specs/Core/HeadingPitchRangeSpec.js index 8921e9b9952a..89e45d71eaec 100644 --- a/Specs/Core/HeadingPitchRangeSpec.js +++ b/Specs/Core/HeadingPitchRangeSpec.js @@ -1,8 +1,8 @@ /*global defineSuite*/ defineSuite([ - 'Core/HeadingPitchRange' -], function( - HeadingPitchRange) { + 'Core/HeadingPitchRange' + ], function( + HeadingPitchRange) { "use strict"; /*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn*/ diff --git a/Specs/Core/loadJsonpSpec.js b/Specs/Core/loadJsonpSpec.js index 4d0f5100b8be..8a857d49f418 100644 --- a/Specs/Core/loadJsonpSpec.js +++ b/Specs/Core/loadJsonpSpec.js @@ -1,12 +1,12 @@ /*global defineSuite*/ defineSuite([ - 'Core/loadJsonp', - 'Core/DefaultProxy', - 'Core/RequestErrorEvent' -], function( - loadJsonp, - DefaultProxy, - RequestErrorEvent) { + 'Core/loadJsonp', + 'Core/DefaultProxy', + 'Core/RequestErrorEvent' + ], function( + loadJsonp, + DefaultProxy, + RequestErrorEvent) { "use strict"; /*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn*/ diff --git a/Specs/Scene/ArcGisMapServerImageryProviderSpec.js b/Specs/Scene/ArcGisMapServerImageryProviderSpec.js index a90b565fd25e..61e55453d469 100644 --- a/Specs/Scene/ArcGisMapServerImageryProviderSpec.js +++ b/Specs/Scene/ArcGisMapServerImageryProviderSpec.js @@ -8,8 +8,8 @@ defineSuite([ 'Core/defined', 'Core/GeographicProjection', 'Core/GeographicTilingScheme', - 'Core/loadJsonp', 'Core/loadImage', + 'Core/loadJsonp', 'Core/loadWithXhr', 'Core/queryToObject', 'Core/Rectangle', @@ -32,8 +32,8 @@ defineSuite([ defined, GeographicProjection, GeographicTilingScheme, - loadJsonp, loadImage, + loadJsonp, loadWithXhr, queryToObject, Rectangle, diff --git a/Specs/Scene/BingMapsImageryProviderSpec.js b/Specs/Scene/BingMapsImageryProviderSpec.js index f9107036b8d2..ea7cedcb22e7 100644 --- a/Specs/Scene/BingMapsImageryProviderSpec.js +++ b/Specs/Scene/BingMapsImageryProviderSpec.js @@ -3,8 +3,8 @@ defineSuite([ 'Scene/BingMapsImageryProvider', 'Core/DefaultProxy', 'Core/defined', - 'Core/loadJsonp', 'Core/loadImage', + 'Core/loadJsonp', 'Core/loadWithXhr', 'Core/WebMercatorTilingScheme', 'Scene/BingMapsStyle', @@ -18,8 +18,8 @@ defineSuite([ BingMapsImageryProvider, DefaultProxy, defined, - loadJsonp, loadImage, + loadJsonp, loadWithXhr, WebMercatorTilingScheme, BingMapsStyle, diff --git a/Specs/Scene/CameraSpec.js b/Specs/Scene/CameraSpec.js index 1203f3ad61be..e549d4de7861 100644 --- a/Specs/Scene/CameraSpec.js +++ b/Specs/Scene/CameraSpec.js @@ -9,6 +9,7 @@ defineSuite([ 'Core/defaultValue', 'Core/Ellipsoid', 'Core/GeographicProjection', + 'Core/HeadingPitchRange', 'Core/Math', 'Core/Matrix3', 'Core/Matrix4', @@ -16,7 +17,6 @@ defineSuite([ 'Core/Transforms', 'Core/WebMercatorProjection', 'Scene/CameraFlightPath', - 'Core/HeadingPitchRange', 'Scene/OrthographicFrustum', 'Scene/PerspectiveFrustum', 'Scene/SceneMode', @@ -31,6 +31,7 @@ defineSuite([ defaultValue, Ellipsoid, GeographicProjection, + HeadingPitchRange, CesiumMath, Matrix3, Matrix4, @@ -38,7 +39,6 @@ defineSuite([ Transforms, WebMercatorProjection, CameraFlightPath, - HeadingPitchRange, OrthographicFrustum, PerspectiveFrustum, SceneMode, diff --git a/Specs/Scene/ImageryLayerSpec.js b/Specs/Scene/ImageryLayerSpec.js index 937694e04bc5..ce60f0d34c1d 100644 --- a/Specs/Scene/ImageryLayerSpec.js +++ b/Specs/Scene/ImageryLayerSpec.js @@ -2,8 +2,8 @@ defineSuite([ 'Scene/ImageryLayer', 'Core/EllipsoidTerrainProvider', - 'Core/loadJsonp', 'Core/loadImage', + 'Core/loadJsonp', 'Core/loadWithXhr', 'Core/Rectangle', 'Renderer/ComputeEngine', @@ -24,8 +24,8 @@ defineSuite([ ], function( ImageryLayer, EllipsoidTerrainProvider, - loadJsonp, loadImage, + loadJsonp, loadWithXhr, Rectangle, ComputeEngine, diff --git a/Specs/Scene/ModelSpec.js b/Specs/Scene/ModelSpec.js index d2555c90ca1c..309b0b588a40 100644 --- a/Specs/Scene/ModelSpec.js +++ b/Specs/Scene/ModelSpec.js @@ -6,6 +6,7 @@ defineSuite([ 'Core/Cartesian4', 'Core/defaultValue', 'Core/FeatureDetection', + 'Core/HeadingPitchRange', 'Core/JulianDate', 'Core/loadArrayBuffer', 'Core/Math', @@ -14,7 +15,6 @@ defineSuite([ 'Core/Transforms', 'Renderer/RenderState', 'Renderer/WebGLConstants', - 'Core/HeadingPitchRange', 'Scene/ModelAnimationLoop', 'Specs/createScene', 'Specs/pollToPromise', @@ -26,6 +26,7 @@ defineSuite([ Cartesian4, defaultValue, FeatureDetection, + HeadingPitchRange, JulianDate, loadArrayBuffer, CesiumMath, @@ -34,7 +35,6 @@ defineSuite([ Transforms, RenderState, WebGLConstants, - HeadingPitchRange, ModelAnimationLoop, createScene, pollToPromise,