Hi all OLers-

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!!

var tLayer = new OpenLayers.Layer.Vector( 'Features', {
              strategies: [new OpenLayers.Strategy.Fixed()],
              projection:map.displayProjection,
              protocol: new OpenLayers.Protocol.HTTP({
                 url: loc,
                 format: new OpenLayers.Format.Text
              })
              }
           );





-- 
Department of Geography
University of Washington

[email protected]
[email protected]
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to