Browse Source
Merge pull request #13203 from vvlladd28/improvement/map-help/additional-key
Updated map help
pull/13205/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
10 additions and
5 deletions
ui-ngx/src/assets/help/en_US/widget/lib/map/clustering_color_fn.md
ui-ngx/src/assets/help/en_US/widget/lib/map/color_fn_examples.md
ui-ngx/src/assets/help/en_US/widget/lib/map/label_fn_examples.md
ui-ngx/src/assets/help/en_US/widget/lib/map/marker_image_fn.md
ui-ngx/src/assets/help/en_US/widget/lib/map/tooltip_fn_examples.md
@ -30,7 +30,8 @@ In case no data is returned, default colors will be used depending on number of
< ul >
< ul >
< li >
< 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 >
< / li >
@ -1,6 +1,7 @@
##### Examples
##### 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
```javascript
var type = data.Type;
var type = data.Type;
@ -1,6 +1,7 @@
##### Examples
##### 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
```javascript
var deviceType = data.Type;
var deviceType = data.Type;
@ -40,7 +40,8 @@ In case no data is returned, default marker image will be used.
< ul >
< ul >
< li >
< li >
Calculate image url depending on < code > temperature< / code > telemetry value for < code > thermometer< / code > device type.< br >
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 >
< / li >
< / ul >
< / ul >
@ -1,6 +1,7 @@
##### Examples
##### 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
```javascript
var deviceType = data.Type;
var deviceType = data.Type;