Hi all OLers-<br><br>Does anyone know of a way to structure a text file (for reading into OpenLayers) to support lines and polygons? In my OL interface I am reading a text file into a vector layer but so far it only works with points. My code is below. Many, many thanks in advance for any suggestions!!<br>
<pre id="line1">var tLayer = new OpenLayers.Layer.Vector( 'Features', {<br> strategies: [new OpenLayers.Strategy.Fixed()],<br> projection:map.displayProjection,<br> protocol: new OpenLayers.Protocol.HTTP({<br>
url: loc,<br> format: new OpenLayers.Format.Text<br> })<br> }<br> );<br></pre><br><br><br clear="all"><br>-- <br>Department of Geography<br>University of Washington<br>
<br><a href="mailto:BurnsR77@gmail.com">BurnsR77@gmail.com</a><br><a href="mailto:rlburns@uw.edu">rlburns@uw.edu</a><br>