When user creates a new feature in layer, the I should be able to set those
attributes on those features.

If you have object features from the drawing then you set the value of any attribute you like
with
features.attributes.MYATTRIBUTENAME = whatever
before you do the wfs commit. However, you will some kind of UI to fetch the values of the attributes from the user and this will depend enormously on what sort of JS frameworks you are using (if any).

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to