[OpenLayers-Users] Adding an attribute field to a vector layer

Robert Sanson SansonR at asurequality.com
Tue Oct 14 23:45:36 EDT 2008


I am developing an application that allows a user to digitise crop areas. The areas created will then be uploaded to a SQL-server database via a geoJSON string sent to a ColdFusion service.
 
How can I specify one or more attribute fields?
 
I am using the following construct:
 
var crop_layer = new OpenLayers.Layer.Vector(); 
map.addLayer(crop_layer);
 
Many thanks,
 
Robert Sanson
------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
------------------------------------------------------------------


This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081015/4a670d4c/attachment.html


More information about the Users mailing list