Both the Multi-Entry Glyph
and the Group Glyph can be configured so that all of their
children glyphs are displayed with the same data icon.
|
Group Property Dialog
There are 7 lines in the Menu Fields.
The data files share some similar fields (e.g., temperature) but
the field names vary (e.g., "rh" and "humidity") and only the Purple Air
entry has the pm1.0, pm2.5 and pm10.0 fields.
The "|" separated field ids, e.g. .*rh|.*humidity, allow one to match
on any of the patterns.
temp.*|other_field_pattern,label=Temperature,unit=C .*rh|.*humidity.*,label=RH .*atm_press|.*pressure,label=Pressure windspeed,label=Wind Speed pm1.0 pm2.5 pm10.0
Drawing Data Icons
#What font to use for the label Glyph font:50px sans-serif #If the data does not have the specified field then the icon is not shown #the ${_field} is a macro that is replaced with the selected field #from the Field Menu requiredField:${_field} #This specifies the background and line color for the rectangle borderColor:#000 fill:#eee lineWidth:5The Glyphs are the drawing commands, one per line.
#Draw a label with the given template #The ${_field} is a macro that is replaced with the selected field label,pos:nw,dx:80,dy:-ch+20,label:${${_field} decimals=1 suffix=" ${unit}"} #Draw an image with the icon for the Map Glyph image,pos:nw,dx:10,dy:10-ch,width:60,height:60,url:${icon}