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. |
| formatOptions | {Object} Hash of options which should be passed to the format when it is created. |
| Constructor | |
| OpenLayers. | Create a text layer. |
| Functions | |
| destroy |
Create a text layer.
| name | {String} |
| options | {Object} Object with properties to be set on the layer. Must include location property. |
destroy: function()