Read Text format. Create a new instance with the OpenLayers.Format.Text constructor. This reads text which is formatted like CSV text, using tabs as the seperator by default. It provides parsing of data originally used in the MapViewerService, described on the wiki. This Format is used by the OpenLayers.Layer.Text class.
OpenLayers.
|
Read Text format. |
Properties | |
defaultStyle | defaultStyle allows one to control the default styling of the features. |
extractStyles | set to true to extract styles from the TSV files, using information from the image or icon, iconSize and iconOffset fields. |
Constructor | |
OpenLayers.
|
Create a new parser for TSV Text. |
Functions | |
read | Return a list of features from a Tab Seperated Values text string. |
set to true to extract styles from the TSV files, using information from the image or icon, iconSize and iconOffset fields. This will result in features with a symbolizer (style) property set, using the default symbolizer specified in defaultStyle. Set to false if you wish to use a styleMap or OpenLayers.Style options to style your layer instead.
read: function( text )
Return a list of features from a Tab Seperated Values text string.
text | {String} |
Array({OpenLayers.Feature.Vector})
Return a list of features from a Tab Seperated Values text string.
read: function( text )