Class GLOBALS

Object
   |
   +--GLOBALS

class GLOBALS

 
Method Summary
<static> void changeMap()
           User has requested a change to the map
<static> Object getMapType()
           Check which map type radio button is currently selected
<static> void onAirportSelect(airport)
           Called by OpenFlightsMap when an airport is selected, typically used to create a popup in response.
<static> void onAirportUnselect(airport)
           Called by OpenFlightsMap when an airport or cluster is unselected, typically used to close its popup.
Note: If a user has previously selected airport A, and then clicks on airport B, OpenFlights will first call onAirportUnselect(A) and then onAirportSelect(B).


Method Detail

changeMap

<static> void changeMap()

getMapType

<static> Object getMapType()

onAirportSelect

<static> void onAirportSelect(airport)

onAirportUnselect

<static> void onAirportUnselect(airport)


Documentation generated by JSDoc on Fri Feb 5 17:41:56 2010