Sorry about the previous email ...
--- Begin Message ---> > > > projects = new OpenLayers.Layer.Text( "Projects", > > {location:"project-locations.txt", projection: new > > OpenLayers.Projection("EPSG:4326")} ); > > > > projects = new OpenLayers.Layer.GML("Projects", > > "project-locations.txt", > > {format: OpenLayers.Format.Text, projection: new > > OpenLayers.Projection("EPSG:4326") }); > > How does it not? can you provide an example? It should.The only thing I can think of is that my textfile is not read the same way by both forms. The beginning of it is : lat lon title description icon iconSize iconOffset 48.9 9.6075669 Bleu 24x24 Description one<br>Second line.<br>(click again to close) images/Ol_icon_blue_example.png 24,24 0,-24 48.9899851 9.5382032 Rouge 8x8 Description two. images/Ol_icon_red_example.png 8,8 -8,-8 I made sure I have tabs everywhere. It seems the GML layer is stricter than the .Text layer. In the latter case, if I did not put iconSize and iconOffset, symbols would draw whereas with a GML layer they don't. Another issue I have is that the GML layer gives me an "Undefined" for title. I tried quoting the title, but to no avail. Have the requirements for the textfile changed ? Yves
--- End Message ---
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
