annotate - Writes text to a panel
text= | annotation string. This string can contain HTML tags such as paragraph <p>, line break <br>, emphasize/italicize <em>, and bold <b> |
lat=, lon= | center text string at specified latitude and longitude (must be used together) -or- |
line=, element= | center text string at specified panel line and element (must be used together) |
font= | name of font; default is system dependent, this uses the default defined in User Preferences |
size= | size of font; default = size of font defined in user preferences |
style= | style of font; default = style of font defined in user preferences 'BOLD' 'ITALIC' 'NONE' |
color= | sets the color of the text. There are two ways this can be set: 'color name'; default = 'red' -or- [R,G,B] fractional scaling factor for each red, green and blue value (0 to 255). For example, [255,0,0] |
alignment= | sets the location of the text with respect to the latitude/longitude or line/element combination entered. The format is alignment=(horizontal,vertical). For horizontal, values of "left", "right", and "center" can be used. For vertical, values of "top", "bottom" and "center" can be used. The default is alignment=("center","center") which means the text will be centered at the location of the latitude/longitude or line/element values. |
bgColor= | sets the background color of the text. default=None There are two ways this can be set: 'color name'. For example, 'green' -or- [R,G,B] fractional scaling factor for each red, green and blue value (0 to 255). For example, [0,255,0] |
annotateAtStation - Writes text to a panel
text= | annotation string. This string can contain HTML tags such as paragraph <p>, line break <br>, emphasize/italicize <em>, and bold <b> |
station= | 3 or 4 letter station identifier used to set the location of the annotated text |
type= | specifies the station type. This is needed if the station specified has multiple types at different geographical locations. The valid options are: 'A' - Surface Airways Observations (SAO) 'C' - CMAN Coastal Marine 'E' - NAM MOS (formerly called ETA MOS) 'F' - NGM MOS (formerly called FOUS14) 'G' - GFS MOS 'M' - METAR 'N' - NEXRAD Doppler Radar 'R' - RAOB 'S' - VOR Site 'T' - Terminal Aerodome Forecast (TAF) 'V' - Weather Service Forecast Office (WSFO) |
font= | name of font; default is system dependent, this uses the default defined in User Preferences |
size= | size of font; default = size of font defined in user preferences |
style= | style of font; default = style of font defined in user preferences 'BOLD' 'ITALIC' 'NONE' |
color= | sets the color of the text. There are two ways this can be set: 'color name'; default = 'red' -or- [R,G,B] fractional scaling factor for each red, green and blue value (0 to 255). For example, [255,0,0] |
alignment= | sets the location of the text with respect to the latitude/longitude or line/element combination entered. The format is alignment=(horizontal,vertical). For horizontal, values of "left", "right", and "center" can be used. For vertical, values of "top", "bottom" and "center" can be used. The default is alignment=("center","center") which means the text will be centered at the location of the latitude/longitude or line/element values. |
bgColor= | sets the background color of the text. default=None There are two ways this can be set: 'color name'. For example, 'green' -or- [R,G,B] fractional scaling factor for each red, green and blue value (0 to 255). For example, [0,255,0] |
getMapLayer - Obtains a reference to the map layer in the display
setCenter - Centers the display on a specified latitude/longitude and sets a scaling factor
lat= | centers the display at the specified latitude (no default, required parameter) |
lon= | centers the display at the specified longitude (no default, required parameter) |
scale= | scale factor for map; default = current scale factor |
setCenterAtStation - Centers the display on a specified station and sets a scaling factor