[OpenLayers-Dev] More attributes for OpenLayers.Layer.Text
jachym.cepicky at gmail.com
Fri Nov 9 18:50:06 EST 2007
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
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 
Patch for Text.js as well as test/data_Layer_Text_textfile.txt and
eventually examples/textfile.txt added as well .
Looking forward to your comments :-)
e-mail: jachym.cepicky at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20071110/9a85b52d/attachment.bin
More information about the Dev