AnimationLayer
Summary
An animation layer is a layer which can be animated.
Constructor
aeris.maps.layers.AnimationLayer
Syntax
aeris.maps.layers.AnimationLayer
()
Summary
Item Index
Methods
Properties
Attributes
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:
destroy
Syntax
destroy
()
Summary
fadeTo
Syntax
fadeTo
(
-
targetOpacity
-
duration
Summary
Experimental layer fade animation.
getMap
Syntax
getMap
()
Summary
hide
Syntax
hide
()
Summary
Hide the layer.
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
setMap
Syntax
setMap
()
Summary
setStrategy
Syntax
setStrategy
(
-
Strategy
Summary
Set the strategy to use for rendering the StrategyObject.
Parameters:
-
Strategy
FunctionConstructor for an {aeris.maps.AbstractStrategy} object.
show
Syntax
show
()
Summary
Show the layer.
validate
Syntax
validate
()
Summary
Properties
strategy_
Syntax
strategy_
aeris.maps.Strategy Strategy constructor.
Summary
Default {aeris.Strategy} implementation
StrategyType_
Syntax
StrategyType_
function():aeris.maps.AbstractStrategy
private
Summary
Attributes
Events
strategy:set
Syntax
strategy:set
Summary
When a strategy is set on the object.
Event Payload:
-
strategy
aeris.maps.AbstractStrategy