OpenLayersTools.Track

Implements methods for working with tracks.

Summary
OpenLayersTools.TrackImplements methods for working with tracks.
Functions
TrackInitialize the object of Track.
buildTrackBuilding a track, given the coordinates and draws on OpenLayers.Layer.
removeTrackRemove track from the layer.
visibilityTrackMethod hides\show track on layer.

Functions

Track

function Track(parent)

Initialize the object of Track.

Parameters

parentObject that is the parent of this class.

Returns

Object of Track.

buildTrack

buildTrack: function (layerName,
coordinates,
attributes)

Building a track, given the coordinates and draws on OpenLayers.Layer.

Parameters

layerNameName the layer to which you want to draw the track.
coordinatesObject coordinates on which to build the track.
attributesObject which specifies the attribute track.

Returns

TRUE if function successful.

Usage

Coming soon...

removeTrack

removeTrack: function (layerName,
trackId)

Remove track from the layer.

Parameters

layerNameName the layer to which you want to draw the track.
trackIdID of the track you want to delete.

Returns

TRUE if function successful.

Usage

Coming soon...

visibilityTrack

visibilityTrack: function (layerName,
trackId,
visibility)

Method hides\show track on layer.

Parameters

layerNameName the layer to which you want to draw the track.
trackIdID of the track you want to delete.
visibilityFlag, which shows of hides the marker from the layer.

Returns

TRUE if function successful.

Usage

Coming soon...
function Track(parent)
Initialize the object of Track.
buildTrack: function (layerName,
coordinates,
attributes)
Building a track, given the coordinates and draws on OpenLayers.Layer.
removeTrack: function (layerName,
trackId)
Remove track from the layer.
visibilityTrack: function (layerName,
trackId,
visibility)
Method hides\show track on layer.
Close