OpenLayers JavaScript Mapping Library |
OpenLayers. Format.WFSRead/Write WFS. Summary
OpenLayers. Format.WFSCreate a WFS-T formatter. This requires a layer: that layer should have two properties: geometry_column and typename. The parser for this format is subclassed entirely from GML: There is a writer only, which uses most of the code from the GML layer, and wraps it in transactional elements. Parameters
write
Takes a feature list, and generates a WFS-T Transaction Parameters
insert
Takes a feature, and generates a WFS-T Transaction “Insert” Parameters
update
Takes a feature, and generates a WFS-T Transaction “Update” Parameters
remove
Takes a feature, and generates a WFS-T Transaction “Delete” Parameters
|
Takes a feature list, and generates a WFS-T Transaction
write: function( features )
createFeatureXML: function( feature )
Takes a feature, and generates a WFS-T Transaction “Insert”
insert: function( feature )
Takes a feature, and generates a WFS-T Transaction “Update”
update: function( feature )
Takes a feature, and generates a WFS-T Transaction “Delete”
remove: function( feature )
Remove ciruclar ref to layer
destroy: function()