Hi all, This question has been asked by Boris on *Wed Feb 17 06:37:36 EST 2010*. The answer is very simple but it can be helpful for OpenLayers newbies like me.
The constructor of OpenLayers.Feature.Vector allows to define it's attributes with the second argument. Please look at OL's documentation at http://dev.openlayers.org/docs/files/OpenLayers/Feature/Vector-js.html#OpenLayers.Feature.Vector.OpenLayers.Feature.Vector. There is an example at http://gis.stackexchange.com/questions/10204/programmatically-creating-a-vector-feature-in-openlayers. Best Regards, Yasemin
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
