Vector layer to display ordered point features as a line, creating one LineString feature for each pair of two points.
OpenLayers. Layer. PointTrack | Vector layer to display ordered point features as a line, creating one LineString feature for each pair of two points. |
Constructor | |
OpenLayers. PointTrack | Constructor for a new OpenLayers.PointTrack instance. |
Functions | |
addNodes | Adds point features that will be used to create lines from, using point pairs. |
Constants | |
OpenLayers. Layer. PointTrack. dataFrom | {Object} with the following keys |
addNodes: function( pointFeatures )
Adds point features that will be used to create lines from, using point pairs. The first point of a pair will be the source node, the second will be the target node.
pointFeatures | {Array(OpenLayers.Feature)} |
Adds point features that will be used to create lines from, using point pairs.
addNodes: function( pointFeatures )