OpenLayers. Strategy. Fixed

A simple strategy that requests features once and never requests new data.

Inherits from

Summary
OpenLayers. Strategy. FixedA simple strategy that requests features once and never requests new data.
Constructor
OpenLayers. Strategy. FixedCreate a new Fixed strategy.
Functions
destroyClean up the strategy.
activateActivate the strategy: reads all features from the protocol and add them to the layer.
mergeAdd all features to the layer.

Constructor

OpenLayers. Strategy. Fixed

Create a new Fixed strategy.

Parameters

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

Functions

destroy

destroy: function()

Clean up the strategy.

activate

activate: function()

Activate the strategy: reads all features from the protocol and add them to the layer.

Returns

{Boolean} True if the strategy was successfully activated or false if the strategy was already active.

merge

merge: function(resp)

Add all features to the layer.

destroy: function()
Clean up the strategy.
activate: function()
Activate the strategy: reads all features from the protocol and add them to the layer.
merge: function(resp)
Add all features to the layer.
Abstract vector layer strategy class.
Close