I found my mistake after reading again Simon Appelt's post: 2011/2/21 Björn Höfling <[email protected]>:
> var geom = new OpenLayers.Geometry.Point(x, y); > var feature = new OpenLayers.Feature.Vector(geom); > feature.attributes.state = OpenLayers.State.INSERT; > return feature; Third line must be: feature.state = OpenLayers.State.INSERT; Now it is saving away the new points. Thanks Simon, Björn _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
