Information Windows
infowindows.js
This file shows the functions used to generate the information windows.
generateGif( inca )#
Returns the corresponding qairito.gif for a given inca score value.
Parameters
- inca (int) - I.N.C.A. (Indice de Calidad del Aire) score value.
infowindowComplete( qhawax, qhawaxSensorColor, qhawaxInca, marker, data )#
Generates the information window to be displayed when all given data is complete.
Parameters
- qhawax - ID given to each qhawax.
- qhawaxSensorColor - Color given to each qhawax sensor.
- qhawaxInca - I.N.C.A. (Indice de Calidad del Aire) score value of the qhawax.
- marker - Map leaf marker symbol.
- data - Data to plot to the information window.
infowindowPartial ( qhawax, zoneColor, values, marker, colorUV )#
Generates the information window to be displayed when the data given is incomplete.
Parameters
- qhawax - ID given to each qhawax.
- zoneColor - Color given to each zone?
- values - I.N.C.A. (Indice de Calidad del Aire) score value of the qhawax?
- marker - Map leaf marker symbol.
- colorUV - Map color due to UV data.