[OpenLayers-Users] WFS layer - commit works, save strategy from WFSProtocol does not work!!!! POST vs GET ?!?!

Tim Schaub tschaub at opengeo.org
Mon Mar 22 16:01:24 EDT 2010


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.

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.



More information about the Users mailing list