Occupancy & Status shown in Marker Label
The resource's Occupancy and Status can be displayed on the label for each marker.
Introduced in v2022.5 - November 2022
This option is only available when using the new marker style.
Some experience with JSON is recommended but not required.
If you require any assistance please contact our support team at helpdesk@qedas.com
How to configure
Similar to the new marker style, these options can be configured via the Stylesheet.
Navigate to the Stylesheets page, found under the Administration Settings menu.
Find the correct Stylesheet from the list and click the Edit icon ().
You will see the Stylesheet editor, it should look similar to the above.
You will need to modify the JSON data found above the line /** LINE REQUIRED - CSS BELOW **/
.
Show/hide Occupancy
If you are using the Maps v3 Stylesheet by default the label will show the Occupancy value.
To hide the Occupancy from the label update the occupancy
value which is nested in label_options
to false.
"label_options": {
"occupancy": {"show": false}
}
Hide Occupancy by Space type v2023.1
You can also choose to hide the occupancy for specific space types.
This can be useful for workspaces such as desks or parking where the occupancy will always be 1.
Under the occupancy
object, include the object "hide": []
, this will then require a comma-separated list of space types that should NOT show the occupancy.
"label_options": {
"occupancy": {
"show": true,
"hide": ["desk","parking"]
}
}
Each space type listed needs to be in quotation marks.
The comma-separated list is case-insensitive.
Show/hide Status
By default, the Status is not displayed on the marker label.
To show the resource status you will need to add a status
object to the label_options
object, which needs to contain "show": true
, as shown below.
"label_options": {
"status": { "show": true }
}
Hide Status by Space type v2023.1
You can also choose to hide the status for specific space types.
Under the status
object, include the object "hide": []
, this will then require a comma-separated list of space types that should NOT show the status.
Custom Status text
The text shown for each status can also be updated.
You will need to include a statuses
array in the status
object.
This array must include 8 strings, below is an example of the default values that are used.
Â
- style