DynamicPolyline

DynamicPolyline

new

Represents a time-dynamic polyline, typically used in conjunction with DynamicPolylineVisualizer and DynamicObjectCollection to visualize CZML.

See:
Source:

Members

:DynamicProperty

A DynamicProperty of type CzmlColor which determines the line's color.

:DynamicProperty

A DynamicProperty of type CzmlColor which determines the line's outline color.

:DynamicProperty

A DynamicProperty of type CzmlNumber which determines the line's outline width.

:DynamicProperty

A DynamicProperty of type CzmlBoolean which determines the lines's visibility.

:DynamicProperty

A DynamicProperty of type CzmlNumber which determines the line's width.

Methods

<static>

Given two DynamicObjects, takes the polyline properties from the second and assigns them to the first, assuming such a property did not already exist. This method is not normally called directly, but is part of the array of CZML processing functions that is passed into the CompositeDynamicObjectCollection constructor.

Parameters:
Name Type Description
targetObject DynamicObject The DynamicObject which will have properties merged onto it.
objectToMerge DynamicObject The DynamicObject containing properties to be merged.
See:

<static>

Processes a single CZML packet and merges its data into the provided DynamicObject's polyline. If the DynamicObject does not have a polyline, one is created. This method is not normally called directly, but is part of the array of CZML processing functions that is passed into the DynamicObjectCollection constructor.

Parameters:
Name Type Description
dynamicObject DynamicObject The DynamicObject which will contain the polyline data.
packet Object The CZML packet to process.
Returns:
Boolean true if any new properties were created while processing the packet, false otherwise.
See:

<static>

Given a DynamicObject, undefines the polyline associated with it. This method is not normally called directly, but is part of the array of CZML processing functions that is passed into the CompositeDynamicObjectCollection constructor.

Parameters:
Name Type Description
dynamicObject DynamicObject The DynamicObject to remove the polyline from.
See: