On Tue, Nov 18, 2008 at 03:27:34PM -0500, Yves Moisan wrote: > > Le lundi 17 novembre 2008 à 14:23 -0500, Yves Moisan a écrit : > > > > > > > > > > > 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 > > > > > > OK. I went too quick on one point. I had cut and paste some code that > was looking for feature.name. Switching that to feature.title got rid > of the "undefined" I had. I hadn't payed attention because according to > http://dev.openlayers.org/docs/files/OpenLayers/Layer/Text-js.html : > "The possible columns are: ... title ..." > > So I understand that the title column can be named something else like > name ?
I'm not sure I understand your question. Is your question "Can the OpenLayers code be changed to support this?" If so, the answer is, in my opinion, "no": this format only exists for historical reasons, and any new development should be done with more sane formats. > Could "lat" be renamed "latitude" then ? Point is : that is a > departure from layer.text, albeit a minor one I admit. Again, I'm not sure I understand what you're saying. > More important a > departure IMO is that now one has to have values for iconSize and > iconOffset. With a layer.text, those were optional. Fair enough. I'm willing to cnosider that a bug: Please feel free to file a ticket folowing the instructions in http://trac.openlayers.org/wiki/FilingTickets Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
