Browse Source

UI: Updated map help function. Added hint to need add key

pull/13203/head
Vladyslav_Prykhodko 1 year ago
parent
commit
979ceb3453
  1. 3
      ui-ngx/src/assets/help/en_US/widget/lib/map/clustering_color_fn.md
  2. 3
      ui-ngx/src/assets/help/en_US/widget/lib/map/color_fn_examples.md
  3. 3
      ui-ngx/src/assets/help/en_US/widget/lib/map/label_fn_examples.md
  4. 3
      ui-ngx/src/assets/help/en_US/widget/lib/map/marker_image_fn.md
  5. 3
      ui-ngx/src/assets/help/en_US/widget/lib/map/tooltip_fn_examples.md

3
ui-ngx/src/assets/help/en_US/widget/lib/map/clustering_color_fn.md

@ -30,7 +30,8 @@ In case no data is returned, default colors will be used depending on number of
<ul>
<li>
Calculate color depending on temperature telemetry value:
Calculate color depending on temperature telemetry value.<br/>
Ensure that the <code>temperature</code> key is included in the <b>additional data keys</b> configuration.
</li>

3
ui-ngx/src/assets/help/en_US/widget/lib/map/color_fn_examples.md

@ -1,6 +1,7 @@
##### Examples
* Calculate color depending on `temperature` telemetry value for `thermostat` device type:
* Calculate color depending on `temperature` telemetry value for `thermostat` device type.<br>
Ensure that the <code>Type</code> and <code>temperature</code> keys are included in the <b>additional data keys</b> configuration:
```javascript
var type = data.Type;

3
ui-ngx/src/assets/help/en_US/widget/lib/map/label_fn_examples.md

@ -1,6 +1,7 @@
##### Examples
* Display styled label with corresponding latest telemetry data for `energy meter` or `thermometer` device types:
* Display styled label with corresponding latest telemetry data for `energy meter` or `thermometer` device types.<br/>
Ensure that the <code>Type</code>, <code>energy</code> and <code>temperature</code> keys are included in the <b>additional data keys</b> configuration:
```javascript
var deviceType = data.Type;

3
ui-ngx/src/assets/help/en_US/widget/lib/map/marker_image_fn.md

@ -40,7 +40,8 @@ In case no data is returned, default marker image will be used.
<ul>
<li>
Calculate image url depending on <code>temperature</code> telemetry value for <code>thermometer</code> device type.<br>
Let's assume 4 images are defined in <b>Marker images</b> section. Each image corresponds to particular temperature level:
Let's assume 4 images are defined in <b>Marker images</b> section. Each image corresponds to particular temperature level.<br/>
Ensure that the <code>Type</code> and <code>temperature</code> keys are included in the <b>additional data keys</b> configuration:
</li>
</ul>

3
ui-ngx/src/assets/help/en_US/widget/lib/map/tooltip_fn_examples.md

@ -1,6 +1,7 @@
##### Examples
* Display details with corresponding telemetry data for `energy meter` or `thermometer` device types:
* Display details with corresponding telemetry data for `energy meter` or `thermometer` device types.<br/>
Ensure that the <code>Type</code>, <code>energy</code> and <code>temperature</code> keys are included in the <b>additional data keys</b> configuration:
```javascript
var deviceType = data.Type;

Loading…
Cancel
Save