Implements methods for working with tracks.
OpenLayersTools. | Implements methods for working with tracks. |
Functions | |
Track | Initialize the object of Track. |
buildTrack | Building a track, given the coordinates and draws on OpenLayers.Layer. |
removeTrack | Remove track from the layer. |
visibilityTrack | Method hides\show track on layer. |
buildTrack: function ( layerName, coordinates, attributes )
Building a track, given the coordinates and draws on OpenLayers.Layer.
layerName | Name the layer to which you want to draw the track. |
coordinates | Object coordinates on which to build the track. |
attributes | Object which specifies the attribute track. |
TRUE if function successful.
Coming soon...
visibilityTrack: function ( layerName, trackId, visibility )
Method hides\show track on layer.
layerName | Name the layer to which you want to draw the track. |
trackId | ID of the track you want to delete. |
visibility | Flag, which shows of hides the marker from the layer. |
TRUE if function successful.
Coming soon...
Initialize the object of Track.
function Track( parent )
Building a track, given the coordinates and draws on OpenLayers.Layer.
buildTrack: function ( layerName, coordinates, attributes )
Remove track from the layer.
removeTrack: function ( layerName, trackId )
Method hides\show track on layer.
visibilityTrack: function ( layerName, trackId, visibility )