EarthquakeMarker
Summary
Constructor
aeris.maps.markers.EarthquakeMarker
Syntax
aeris.maps.markers.EarthquakeMarker
()
Summary
Item Index
Methods
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:
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
lookupTitle_
()
protected
Summary
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
aeris.maps.markers.config.iconLookup
Syntax
aeris.maps.markers.config.iconLookup
Unknown
static
Summary
Lookup objects to match a marker type to its icon file name.
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