Abstract vector layer strategy class. Not to be instantiated directly. Use one of the strategy subclasses instead.
ALKMaps. | Abstract vector layer strategy class. |
Properties | |
layer | {ALKMaps.Layer.Vector} The layer this strategy belongs to. |
options | {Object} Any options sent to the constructor. |
active | {Boolean} The control is active. |
autoActivate | {Boolean} The creator of the strategy can set autoActivate to false to fully control when the protocol is activated and deactivated. |
autoDestroy | {Boolean} The creator of the strategy can set autoDestroy to false to fully control when the strategy is destroyed. |
Constructor | |
ALKMaps. | Abstract class for vector strategies. |
Functions | |
destroy | Clean up the strategy. |
setLayer | Called to set the layer property. |
activate | Activate the strategy. |
deactivate | Deactivate the strategy. |
{ALKMaps.Layer.Vector} The layer this strategy belongs to.
Clean up the strategy.
destroy: function()
Called to set the layer property.
setLayer: function( layer )
Activate the strategy.
activate: function()
Deactivate the strategy.
deactivate: function()