Hi everboy, In my application I'm using displaying spatial data from a MS SQL Server. My Stored Procedure returns a WKT string and processing it by using the OpenLayers.Format.WKT.read() method. This works fine.
But now I need some additional attributes. In the documentation I read that it's possible to assign a collection of values to the attribute property of a vector feature by using the second constructor parameter. But I use the OpenLayers.Format.WKT.read() method to create my features, which returns a feature array. Actually I'm using a loop to iterate through the feature array and set the attributes manual for every feature. Is there any other way to do this? Thank you. Kind regards Torben Honigbaum
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
