This layer creates markers given data in a text file. The location property of the layer (specified as a property of the options argument in the OpenLayers.Layer.Text constructor) points to a tab delimited file with data used to create markers.
The first row of the data file should be a header line with the column names of the data. Each column should be delimited by a tab space. The possible columns are:
lat lon title description iconSize iconOffset icon 10 20 title description 21,25 -10,-25 http://www.openlayers.org/dev/img/marker.png
| OpenLayers. | This layer creates markers given data in a text file. | 
| Properties | |
| location | {String} URL of text file. | 
| features | {Array(OpenLayers.Feature)} | 
| formatOptions | {Object} Hash of options which should be passed to the format when it is created. | 
| selectedFeature | {OpenLayers.Feature} | 
| Constructor | |
| OpenLayers. | Create a text layer. | 
| Functions and Properties | |
| destroy | |
| loadText | Start the load of the Text data. | 
| moveTo | If layer is visible and Text has not been loaded, load Text. | 
| parseData | |
| markerClick | |
| clearFeatures | 
{Array(OpenLayers.Feature)}
Create a text layer.
| name | {String} | 
| options | {Object} Object with properties to be set on the layer. Must include location property. | 
destroy: function() 
Start the load of the Text data.
loadText: function() 
If layer is visible and Text has not been loaded, load Text.
moveTo:function( bounds, zoomChanged, minor ) 
parseData: function( ajaxRequest ) 
clearFeatures: function()