OpenLayers JavaScript Mapping Library |
OpenLayers. Layer.WFSInherits fromSummary
featureClass{OpenLayers.Feature} If featureClass is defined, an old-style markers based WFS layer is created instead of a new-style vector layer. If sent, this should be a subclass of OpenLayers.Feature moveTo
Parameters
addTileMonitoringHooks
This function takes a tile as input and adds the appropriate hooks to the tile so that the layer can keep track of the loading tile (making sure to check that the tile is always the layer’s current tile before taking any action). Parameters
removeTileMonitoringHooks
This function takes a tile as input and removes the tile hooks that were added in addTileMonitoringHooks() Parameters
clone
Parameters
Returns{OpenLayers.Layer.WFS} An exact clone of this OpenLayers.Layer.WFS commitReport
Called with a ‘success’ message if the commit succeeded, otherwise a failure message, and the full request text as a second parameter. Override this function to provide custom transaction reporting.
|
destroy: function()
setMap: function( map )
moveTo:function( bounds, zoomChanged, dragging )
This function takes a tile as input and adds the appropriate hooks to the tile so that the layer can keep track of the loading tile (making sure to check that the tile is always the layer’s current tile before taking any action).
addTileMonitoringHooks: function( tile )
This function takes a tile as input and removes the tile hooks that were added in addTileMonitoringHooks()
removeTileMonitoringHooks: function( tile )
Call the onMapResize method of the appropriate parent class.
onMapResize: function()
Modify parameters for the layer and redraw.
mergeNewParams:function( newParams )
clone: function ( obj )
combine the layer’s url with its params and these newParams.
getFullRequestString:function( newParams )
Write out the data to a WFS server.
commit: function()
Called when the Ajax request returns a response
commitSuccess: function( request )
Called when the Ajax request fails
commitFailure: function( request )
Called with a ‘success’ message if the commit succeeded, otherwise a failure message, and the full request text as a second parameter.
commitReport: function( string, response )
Refreshes all the features of the layer
refresh: function()