Dynamic instance object state information, used to update the state of the specified id model instance in the dynamic layer.
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Objects have the following properties:
|
Members
-
Get or set the height.
-
color : Color
-
Get or set the color.
-
Get or set description information
-
Get or set the azimuth (rotate around the Z axis).
-
Get or set the ID.
-
Get or set latitude.
-
Get or set the longitude.
-
offset : Cartesian3
-
Get or set the offset position of the model center point.
-
Get or set the rotation angle around the X axis.
-
Get or set the rotation angle around the Y axis.
-
scale : Cartesian3
-
Get or set the zoom factor.
-
Get or set the azimuth of the model (the horizontal angle from the north direction line to the target direction line in a clockwise direction), unit: radian.
-
Get or set the timestamp.
Methods
-
staticSuperMap3D.DynamicObjectState.clone(state) → DynamicObjectState
-
clone object
Name Type Description state
DynamicObjectState The cloned source object. Returns:
Returns the cloned object.Example:
var state = DynamicObjectState.clone(oldState);