You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGES.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,8 @@ Change Log
6
6
* Breaking changes
7
7
*`Rectangle.intersectWith` was deprecated in Cesium 1.5. Use `Rectangle.intersection`, which is the same but returns `undefined` when two rectangles do not intersect.
8
8
*`Rectangle.isEmpty` was deprecated in Cesium 1.5.
9
-
9
+
* The `sourceUri` parameter to `GeoJsonDatasource.load` was deprecated in Cesium 1.4 and has been removed. Use options.sourceUri instead.
Copy file name to clipboardexpand all lines: Source/DataSources/GeoJsonDataSource.js
+2-11
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@ define([
6
6
'../Core/defaultValue',
7
7
'../Core/defined',
8
8
'../Core/defineProperties',
9
-
'../Core/deprecationWarning',
10
9
'../Core/DeveloperError',
11
10
'../Core/Event',
12
11
'../Core/getFilenameFromUri',
@@ -32,7 +31,6 @@ define([
32
31
defaultValue,
33
32
defined,
34
33
defineProperties,
35
-
deprecationWarning,
36
34
DeveloperError,
37
35
Event,
38
36
getFilenameFromUri,
@@ -776,19 +774,12 @@ define([
776
774
}
777
775
//>>includeEnd('debug');
778
776
779
-
varsourceUri=options;
780
-
if(typeofoptions==='string'){
781
-
sourceUri=options;
782
-
deprecationWarning('GeoJsonDataSource.load','GeoJsonDataSource.load now takes an options object instead of a string as its second parameter. Support for passing a string parameter will be removed in Cesium 1.6');
0 commit comments