Entry display
The location view is a grid. Each entry is a row with an optional title and its value.[1]
titleis shown before the value;inlineputs both on one line.tooltipadds an info icon with the text.labellabels checkboxes and buttons of some entry types.prefixandsuffixare shown around a text or numeric value, eg. a unit.classis added to the entry element;css_titleandcss_valare inline CSS for the title and the value.groupcollects entries with the same group name into a drawer headed by the name;groupClassListadds classes to the drawer. Groups start collapsed;"groupClassList": "expanded"opens one. Anexpandedkey is documented in older JSDoc but not read.[1:1]
Skipping
skipEntryalways skips the entry, eg. a field needed only by another entry.skipNullValue,skipUndefinedValueandskipFalsyValueskip entries with such a value, but never editable entries, so a value can still be entered.layer.infoj_skipskips entries by key, field, query, type or group; see location infoj.
Examples
Address entries grouped in a drawer, empty values skipped.
json
{
"dbs": "DEVDB",
"locale": {
"layers": {
"retail_points": {
"display": true,
"format": "wkt",
"table": "geodata.uk_glx_open_retail_points",
"geom": "geom_p_4326",
"srid": "4326",
"qID": "id",
"infoj": [
{ "title": "Name", "field": "store_name", "css_val": "font-weight: bold" },
{ "title": "Size", "field": "size_band", "inline": true, "tooltip": "Sales area band" },
{ "title": "Street", "field": "add_one", "group": "Address", "groupClassList": "expanded", "skipNullValue": true },
{ "title": "Town", "field": "town", "group": "Address", "skipNullValue": true },
{ "title": "Postcode", "field": "postcode", "group": "Address", "skipNullValue": true }
]
}
}
}
}