If any entry that is also a data entry is being displayed in the IMDV map
then the marker shown in the map
can display the most recent data for the entry. This includes individual
Entry glyphs, entries added under a Multi-Entry and any entryies under a Group glyph.
|
Showing Data Icons
You can add a pull down menu at the top of the page that allows the user to select which field
is displayed. To do this you will first need to know what are the field identifiers for
the data entry. Navigate to one of the data entrys you will be displaying, e.g., the Purple Air sensor and view the Metadata page (from the entry's popup menu) to show the metadata. Note the
fields you want to use. For Purple Air we are going to use pm1.0, pm2.5 and pm10.0.
Now, back to the IDMV map, bring up the properties dialog for the multi-entry. Under the Menu Fields
add the fields you want to use. Optionally you can specify an initial field and a menu label.
You can specify an alternative label to show in the menu as below by specifying a
label=... property in the Menu Fields:
You should now have a menu shown that allows you to select the field to display:
Different Data Types
temperature|atmos_temp,label=TemperatureX,unit=C pm2.5,label=PM 2.5To have all of the data icons be the same format select "Set Defaults", this will override the default display of the data icons. The Icon Specification is the same as used for the wiki canvas display. Now, with the above settings if the PM2.5 field is selected in the field menu then only those glyphs that have a data field that matches the selected PM2.5 field will be shown.