API Docs for: 2.2
Show:

MQ.Traffic.Markets Class

Extends L.LayerGroup

Methods

_handleMarketsData

(
  • response
)
private

Parameters:

_loadMarkets

() private

describeMarket

(
  • market
)
String

Parameters:

Returns <String>

getIcon

(
  • market
)
L.Icon

Creates and returns a new stoplight icon.

Parameters:

Returns <L.Icon>

initialize

(
  • options
)
protected

Parameters:

onAdd

(
  • map
)
protected

Parameters:

onRemove

(
  • map
)
protected

Parameters:

update

()

Typically called automatically through map triggers this method will update the traffic markets data display.