OpenLayers JavaScript Mapping Library |
OpenLayers. Tile.WFSInstances of OpenLayers.Tile.WFS are used to manage the image tiles used by various layers. Create a new image tile with the OpenLayers.Tile.WFS constructor. Inherits fromSummary
features{Array(OpenLayers.Feature)} list of features in this tile OpenLayers. Tile.WFSConstructor for a new OpenLayers.Tile.WFS instance. Parameters
|
nullify references to prevent circular references and memory leaks
destroy: function()
Clear the tile of any bounds/position-related data so that it can be reused in a new location.
clear: function()
Check that a tile should be drawn, and load features for it.
draw:function()
get the full request string from the ds and the tile params and call the AJAX loadURL().
loadFeaturesForRegion:function( success, failure )
Called on return from request succcess.
requestSuccess:function( request )
Construct new feature via layer featureClass constructor, and add to this.features.
addResults: function( results )
Iterate through and call destroy() on each feature, removing it from the local array
destroyAllFeatures: function()