Read Text format. Create a new instance with the ALKMaps.Format.Text constructor. This reads text which is formatted like CSV text, using tabs as the separator by default. It provides parsing of data originally used in the MapViewerService, described on the wiki. This Format is used by the ALKMaps.Layer.Text class.
ALKMaps. | 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 | |
ALKMaps. | 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 ALKMaps.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({ALKMaps.Feature.Vector})
Return a list of features from a Tab Seperated Values text string.
read: function( text )