OpenLayers.Strategy.Refresh - OpenLayers

# OpenLayers.Strategy.Refresh

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.

#### Inherits from

- OpenLayers.Strategy

Summary

OpenLayers.Strategy.Refresh | A strategy that refreshes the layer.
Constructor |
OpenLayers.Strategy.Refresh | 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.

### Constructor

### OpenLayers.Strategy.Refresh

Create a new Refresh strategy.

#### Parameters

options | {Object} Optional object whose properties will be set on the instance.

### Functions

### activate

> activate: function()

Activate the strategy. Register any listeners, do appropriate setup.

#### Returns

{Boolean} True if the strategy was successfully activated.

### deactivate

> deactivate: function()

Deactivate the strategy. Unregister any listeners, do appropriate tear-down.

#### Returns

{Boolean} True if the strategy was successfully deactivated.

### refresh

> refresh: function()

Tell the strategy to refresh which will refresh the layer.

> activate: function()

Activate the strategy.

> deactivate: function()

Deactivate the strategy.

> refresh: function()

Tell the strategy to refresh which will refresh the layer.
Abstract vector layer strategy class.
Close