On Sat, Nov 10, 2007 at 12:50:06AM +0100, Jachym Cepicky wrote:
> Hi,
> 
> we needed attribute "id" for each object in the input textfile, so we
> could write our custom methods for "click" events, when user click on
> the icon.
> 
> I was thinking about mechanism, which would enable this and I think, the
> best way is to enable *any* number of custom columns.
> 
> The patch was only few lines, and you can associate any attribute you
> want to each icon from the vector layer.
> 
> Ticket added to the trac [1]
> Patch for Text.js as well as test/data_Layer_Text_textfile.txt and
> eventually examples/textfile.txt added as well [2].
> 
> Looking forward to your comments :-)

I'd rather see work done on http://trac.openlayers.org/ticket/1033
before we continue changing hte Layer.Text parser. 

Regards,
-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to