StrategyObject
Summary
An object bound to a strategy.
Constructor
aeris.maps.extensions.StrategyObject
Syntax
aeris.maps.extensions.StrategyObject
(
-
opt_options
Summary
Parameters:
-
opt_options
Object=-
strategy
function():AbstractStrategyThe constructor for a {aeris.maps.AbstractStrategy} object.
-
Item Index
Properties
Events
Methods
createStrategy_
Syntax
Summary
Create a {aeris.maps.AbstractStrategy} instance.
Override to adjust how strategy objects are instantiated.
Parameters:
-
Strategy
FunctionAbstractStrategy object ctor.
Returns:
removeStrategy
Syntax
removeStrategy
()
Summary
Remove and clean up the StrategyObject's strategy.
resetStrategy
Syntax
resetStrategy
()
Summary
Reset the rendering strategy used by the object. Useful for re-enabled a strategy which has previously been removed with StrategyObject#removeStrategy
setStrategy
Syntax
setStrategy
(
-
Strategy
Summary
Set the strategy to use for rendering the StrategyObject.
Parameters:
-
Strategy
FunctionConstructor for an {aeris.maps.AbstractStrategy} object.
Properties
strategy_
Syntax
strategy_
?aeris.maps.AbstractStrategy
protected
Summary
The strategy used to interact with the map view.
StrategyType_
Syntax
StrategyType_
function():aeris.maps.AbstractStrategy
private
Summary
Events
strategy:set
Syntax
strategy:set
Summary
When a strategy is set on the object.
Event Payload:
-
strategy
aeris.maps.AbstractStrategy