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
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ Change Log
10
10
##### Additions :tada:
11
11
12
12
* Added support for textured ground entities (entities with unspecified `height`) and `GroundPrimitives` on 3D Tiles.
13
+
* Added support for polylines on 3D Tiles.
14
+
* Added `classificationType` property to `PolylineGraphics` and `GroundPolylinePrimitive` which specifies whether a polyline clamped to ground should be clamped to terrain, 3D Tiles, or both.
13
15
14
16
##### Fixes :wrench:
15
17
* Fixed an issue where classification primitives with the `CESIUM_3D_TILE` classification type would render on terrain.
Copy file name to clipboardexpand all lines: Source/DataSources/CorridorGraphics.js
+2-1
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ define([
41
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
+
* @param {Property} [options.classificationType=ClassificationType.BOTH] An enum Property specifying whether this corridor will classify terrain, 3D Tiles, or both when on the ground.
44
45
* @param {ConstantProperty} [options.zIndex] A Property specifying the zIndex of the corridor, used for ordering. Only has an effect if height and extrudedHeight are undefined, and if the corridor is static.
45
46
*
46
47
* @see Entity
@@ -232,7 +233,7 @@ define([
232
233
* Gets or sets the {@link ClassificationType} Property specifying whether this corridor will classify terrain, 3D Tiles, or both when on the ground.
Copy file name to clipboardexpand all lines: Source/DataSources/EllipseGraphics.js
+2-1
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ define([
44
44
* @param {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the angular distance between points on the ellipse.
45
45
* @param {Property} [options.shadows=ShadowMode.DISABLED] An enum Property specifying whether the ellipse casts or receives shadows from each light source.
46
46
* @param {Property} [options.distanceDisplayCondition] A Property specifying at what distance from the camera that this ellipse will be displayed.
47
+
* @param {Property} [options.classificationType=ClassificationType.BOTH] An enum Property specifying whether this ellipse will classify terrain, 3D Tiles, or both when on the ground.
47
48
* @param {ConstantProperty} [options.zIndex=0] A property specifying the zIndex of the Ellipse. Used for ordering ground geometry. Only has an effect if the ellipse is constant and neither height or exturdedHeight are specified.
48
49
*
49
50
* @demo {@link https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Circles and Ellipses.html|Cesium Sandcastle Circles and Ellipses Demo}
@@ -254,7 +255,7 @@ define([
254
255
* Gets or sets the {@link ClassificationType} Property specifying whether this ellipse will classify terrain, 3D Tiles, or both when on the ground.
Copy file name to clipboardexpand all lines: Source/DataSources/PolygonGraphics.js
+2-1
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ define([
43
43
* @param {Boolean} [options.closeBottom=true] When false, leaves off the bottom of an extruded polygon open.
44
44
* @param {Property} [options.shadows=ShadowMode.DISABLED] An enum Property specifying whether the polygon casts or receives shadows from each light source.
45
45
* @param {Property} [options.distanceDisplayCondition] A Property specifying at what distance from the camera that this polygon will be displayed.
46
+
* @param {Property} [options.classificationType=ClassificationType.BOTH] An enum Property specifying whether this polygon will classify terrain, 3D Tiles, or both when on the ground.
46
47
* @param {ConstantProperty} [options.zIndex=0] A property specifying the zIndex used for ordering ground geometry. Only has an effect if the polygon is constant and neither height or extrudedHeight are specified.
47
48
*
48
49
* @see Entity
@@ -255,7 +256,7 @@ define([
255
256
* Gets or sets the {@link ClassificationType} Property specifying whether this polygon will classify terrain, 3D Tiles, or both when on the ground.
Copy file name to clipboardexpand all lines: Source/DataSources/PolylineGraphics.js
+14-1
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,11 @@ define([
31
31
* @param {Property} [options.width=1.0] A numeric Property specifying the width in pixels.
32
32
* @param {Property} [options.show=true] A boolean Property specifying the visibility of the polyline.
33
33
* @param {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to draw the polyline.
34
-
* @param {MaterialProperty} [options.depthFailMaterial] A property specifiying the material used to draw the polyline when it is below the terrain.
34
+
* @param {MaterialProperty} [options.depthFailMaterial] A property specifying the material used to draw the polyline when it is below the terrain.
35
35
* @param {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the angular distance between each latitude and longitude if followSurface is true.
36
36
* @param {Property} [options.shadows=ShadowMode.DISABLED] An enum Property specifying whether the polyline casts or receives shadows from each light source.
37
37
* @param {Property} [options.distanceDisplayCondition] A Property specifying at what distance from the camera that this polyline will be displayed.
38
+
* @param {Property} [options.classificationType=ClassificationType.BOTH] An enum Property specifying whether this polyline will classify terrain, 3D Tiles, or both when on the ground.
38
39
* @param {Property} [options.zIndex=0] A Property specifying the zIndex used for ordering ground geometry. Only has an effect if `clampToGround` is true and polylines on terrain is supported.
* Gets or sets the zIndex Property specifying the ordering of the polyline. Only has an effect if `clampToGround` is true and polylines on terrain is supported.
0 commit comments