Property

new Cesium.Property()

The interface for all properties, which represent a value that can optionally vary over time. This type defines an interface and cannot be instantiated directly.
See:

Members

readonlydefinitionChanged : Event

Gets the event that is raised whenever the definition of this property changes. The definition is considered to have changed if a call to getValue would return a different result for the same time.

readonlyisConstant : Boolean

Gets a value indicating if this property is constant. A property is considered constant if getValue always returns the same result for the current definition.

isSignAutoAvoidance : boolean

是否开启标牌自动避让
Default Value: false

signAvoidanceAngles : boolean

标牌避让范围(牵引线长度不变,角度变化),以屏幕X轴正向为0度,逆时针方向为正方向的角度数组
Default Value: false

Methods

equals(other)Boolean

Compares this property to the provided property and returns true if they are equal, false otherwise.
Name Type Description
other Property optional The other property.
Returns:
true if left and right are equal, false otherwise.

getDraggedSigns()

获取拖拽过的标牌数组

getValue(time, result)Object

Gets the value of the property at the provided time.
Name Type Description
time JulianDate The time for which to retrieve the value.
result Object optional The object to store the value into, if omitted, a new instance is created and returned.
Returns:
The modified result parameter or a new instance if the result parameter was not supplied.

removeSignsDraggedState(signs)

移除指定标牌的拖拽状态,并还原到拖拽前的位置
Name Type Description
signs signs 标牌数组

signAvoidance()

标牌避让一次(自动避让开启时不生效)
MGIS属性类。

此类不支持示例化,需要用户从scene.mGISManager中获取

new Cesium.Property()

Example:
// 创建当前场景的MGISManger
let mGISManager = new SuperMap3D.MGISManager({ scene: scene, serverUrl:  serverUrl});
// 获取属性类
let property = mGISManager.property;

Members

readonlydefinitionChanged : Event

Gets the event that is raised whenever the definition of this property changes. The definition is considered to have changed if a call to getValue would return a different result for the same time.

readonlyisConstant : Boolean

Gets a value indicating if this property is constant. A property is considered constant if getValue always returns the same result for the current definition.

isSignAutoAvoidance : boolean

是否开启标牌自动避让
Default Value: false

signAvoidanceAngles : boolean

标牌避让范围(牵引线长度不变,角度变化),以屏幕X轴正向为0度,逆时针方向为正方向的角度数组
Default Value: false

Methods

equals(other)Boolean

Compares this property to the provided property and returns true if they are equal, false otherwise.
Name Type Description
other Property optional The other property.
Returns:
true if left and right are equal, false otherwise.

getDraggedSigns()

获取拖拽过的标牌数组

getValue(time, result)Object

Gets the value of the property at the provided time.
Name Type Description
time JulianDate The time for which to retrieve the value.
result Object optional The object to store the value into, if omitted, a new instance is created and returned.
Returns:
The modified result parameter or a new instance if the result parameter was not supplied.

removeSignsDraggedState(signs)

移除指定标牌的拖拽状态,并还原到拖拽前的位置
Name Type Description
signs signs 标牌数组

signAvoidance()

标牌避让一次(自动避让开启时不生效)