OpenLayers. Layer.Text

Tab seperated values file parsing code which creates a markers layer.

Inherits from;

Properties

location

{String} store url of text filethis should be specified in the “options” hashtable.  Can not be changed once passed in.

features

selectedFeature

Constructor

OpenLayers. Layer.Text

Create a text layer.

Parameters

name{String}
options{Object} Hashtable of extra options to tag onto the layer.  Must include “location” property.

Functions and Properties

destroy

destroy: function()

parseData

parseData: function(ajaxRequest)

Parameters

ajaxRequest{XMLHttpRequest}

markerClick

Parameters

evt{Event}

clearFeatures

clearFeatures: function()
Features are combinations of geography and attributes.
destroy: function()
parseData: function(ajaxRequest)
clearFeatures: function()