PointDataMarker
Summary
A marker MapExtensionObject which is a view model for a PointData data model.
Constructor
aeris.maps.markers.PointDataMarker
Syntax
aeris.maps.markers.PointDataMarker
()
Summary
Item Index
Methods
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
getIconConfig_
Syntax
getIconConfig_
()
private
Summary
getMap
Syntax
getMap
()
Summary
getType
Syntax
Summary
The type category of this marker. Generally, corresponds to a data filter.
Returns:
lookupOffsetX_
Syntax
lookupOffsetX_
()
private
Summary
lookupOffsetY_
Syntax
lookupOffsetY_
()
private
Summary
lookupPosition_
Syntax
Summary
Lookup marker position from data model.
Returns:
lookupSelectedUrl_
Syntax
lookupSelectedUrl_
()
private
Summary
lookupTitle_
Syntax
Summary
Override to set how the marker's title attribute is parsed from the data.
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
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.
validate
Syntax
validate
()
protected
Summary
Properties
iconLookup_
Syntax
iconLookup_
|
private
Summary
An object to lookup a marker's icon url by it's type.
eg: { blizzard: 'storm/icon_blizzard_sm', snow: 'stormicon_snow_sm' }
iconPath_
Syntax
Summary
The path to a icon url, where {name} is the name of the icon defined in this.iconLookup_
selectedIconPath_
Syntax
Summary
The path to the icon url, to use only when the marker is selected.
Defaults to the iconPath.
strategy_
Syntax
strategy_
aeris.maps.Strategy Strategy constructor.
Summary
Default {aeris.Strategy} implementation
StrategyType_
Syntax
StrategyType_
function():aeris.maps.AbstractStrategy
private
Summary
typeAttribute_
Syntax
Summary
The data attribute used to categorize the marker.
Defined as a '.' delimited string. eg. 'weather.type' would map to this.get('data').get('weather').type;
Attributes
type
string
The type category this marker belongs to. Useful organizing markers which match some filter.
Events
dragend
Syntax
dragend
Summary
Event Payload:
-
latLon
aeris.maps.LatLon -
marker
aeris.maps.markers.Marker
strategy:set
Syntax
strategy:set
Summary
When a strategy is set on the object.
Event Payload:
-
strategy
aeris.maps.AbstractStrategy