Tim Schaub wrote: > Hey- > > paweluz wrote: >> Hi! >> > > ... snip ... > >> data that I have stored as MULTILINESTRING?? Is there a way to force >> Openlayers to save data as MULTILINESTRING?? >> > > The WFSProtocol has nothing to do with determining the geometry type in > your features. > > If you are drawing your features with the DrawFeature control, you can > pass handlerOptions: {multi: true} to the control when you construct it. >
See the wfs-transactions.html example for use of {multi: true} (as handler options on the draw feature control). http://openlayers.org/dev/examples/wfs-protocol-transactions.html http://openlayers.org/dev/examples/wfs-protocol-transactions.js > I realize this is horribly burried (and not marked as part of the API). > I'll create a ticket to add a "multi" option to the DrawFeature > control to make this a bit easier. > > If you not using the DrawFeature control to create features, then this > won't apply. > > Tim > >> poul > > -- Tim Schaub OpenGeo - http://opengeo.org Expert service straight from the developers. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users