A strategy that refreshes the layer. By default the strategy waits for a call to refresh before refreshing. By configuring the strategy with the <interval> option, refreshing can take place automatically.
OpenLayers.
|
A strategy that refreshes the layer. |
Constructor | |
OpenLayers.
|
Create a new Refresh strategy. |
Functions | |
activate | Activate the strategy. |
deactivate | Deactivate the strategy. |
refresh | Tell the strategy to refresh which will refresh the layer. |
Activate the strategy.
activate: function()
Deactivate the strategy.
deactivate: function()
Tell the strategy to refresh which will refresh the layer.
refresh: function()