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
Reorder code in entity layer to have consistent order of properties.
Previously the list of properties for each type of Graphics in the entity layer was different everywhere. This made it quite difficult to compare the set of properties in the code vs the set of properties in CZML. I went through and reordered all these locations to have properties in the same order in each.
* The documentation for the constructor for each graphics type
* The content of the constructor (initializing `_property` and `_propertySubscription` to `undefined`)
* The public get/set properties
* The contents of the `clone` function for each graphics type
* The contents of the `merge` function for each graphics type
* The code assigning the values of properties in `CzmlDataSource`.
Also add some missing functionality to `CzmlDataSource`:
`box.heightReference`
`cylinder.heightReference`
`ellipsoid.heightReference`
`corridor.classificationType`
`ellipse.classificationType`
`polygon.classificationType`
`polyline.classificationType`
`rectangle.classificationType`
Copy file name to clipboardexpand all lines: CHANGES.md
+3
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@ Change Log
3
3
4
4
### 1.59 - 2019-07-01
5
5
6
+
##### Additions :tada:
7
+
* Added CZML support for `heightReference` to `box`, `cylinder`, and `ellipsoid`, and added CZML support for `classificationType` to `corridor`, `ellipse`, `polygon`, `polyline`, and `rectangle`. [#7899](https://github.com/AnalyticalGraphicsInc/cesium/pull/7899)
8
+
6
9
##### Fixes :wrench:
7
10
* Fixed a bug that caused missing segments for ground polylines with coplanar points over large distances and problems with polylines containing duplicate points. [#7885](https://github.com/AnalyticalGraphicsInc/cesium//pull/7885)
8
11
* Fixed a bug where billboards were not pickable when zoomed out completely in 2D View. [#7908](https://github.com/AnalyticalGraphicsInc/cesium/pull/7908)
Copy file name to clipboardexpand all lines: Source/DataSources/CorridorGraphics.js
+35-35
Original file line number
Diff line number
Diff line change
@@ -25,20 +25,20 @@ define([
25
25
* @constructor
26
26
*
27
27
* @param {Object} [options] Object with the following properties:
28
+
* @param {Property} [options.show=true] A boolean Property specifying the visibility of the corridor.
28
29
* @param {Property} [options.positions] A Property specifying the array of {@link Cartesian3} positions that define the centerline of the corridor.
29
30
* @param {Property} [options.width] A numeric Property specifying the distance between the edges of the corridor.
30
-
* @param {Property} [options.cornerType=CornerType.ROUNDED] A {@link CornerType} Property specifying the style of the corners.
31
31
* @param {Property} [options.height=0] A numeric Property specifying the altitude of the corridor relative to the ellipsoid surface.
32
32
* @param {Property} [options.heightReference] A Property specifying what the height is relative to.
33
33
* @param {Property} [options.extrudedHeight] A numeric Property specifying the altitude of the corridor's extruded face relative to the ellipsoid surface.
34
34
* @param {Property} [options.extrudedHeightReference] A Property specifying what the extrudedHeight is relative to.
35
-
* @param {Property} [options.show=true] A boolean Property specifying the visibility of the corridor.
35
+
* @param {Property} [options.cornerType=CornerType.ROUNDED] A {@link CornerType} Property specifying the style of the corners.
36
+
* @param {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the distance between each latitude and longitude.
36
37
* @param {Property} [options.fill=true] A boolean Property specifying whether the corridor is filled with the provided material.
37
38
* @param {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to fill the corridor.
38
39
* @param {Property} [options.outline=false] A boolean Property specifying whether the corridor is outlined.
39
40
* @param {Property} [options.outlineColor=Color.BLACK] A Property specifying the {@link Color} of the outline.
40
41
* @param {Property} [options.outlineWidth=1.0] A numeric Property specifying the width of the outline.
41
-
* @param {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the distance between each latitude and longitude.
42
42
* @param {Property} [options.shadows=ShadowMode.DISABLED] An enum Property specifying whether the corridor casts or receives shadows from each light source.
43
43
* @param {Property} [options.distanceDisplayCondition] A Property specifying at what distance from the camera that this corridor will be displayed.
44
44
* @param {Property} [options.classificationType=ClassificationType.BOTH] An enum Property specifying whether this corridor will classify terrain, 3D Tiles, or both when on the ground.
0 commit comments