Repository navigation
User JSON LatLonTextIndicator
roosit edited this page May 31, 2026
·
2 revisions
Back to list | Indicator page | Russian
This page describes the JSON template for the latLonText indicator for manual .vttp editing.
{
"name": "com.velitask.plagin.official.latLonText",
"data": {
"maket": { "preset": "auto" },
"properties": {
"Geo": {},
"font": {"name":"Dialog","style":{"value":0},"size":{"value":48},"color":{"r":255,"g":255,"b":255,"a":255}},
"textAlign": {"value":0},
"displayType": {"value":0},
"precision": {"value":7}
}
}
}Selects the GPS sensor that latitude and longitude are read from.
{
"Geo": {}
}| Field | Values | What it does |
|---|---|---|
| sourceId | source id in the project | In a real Mixel, selects the data source. It may be omitted in a template. |
| sensorId | sensor id in the source | In a real Mixel, selects the concrete sensor. It may be omitted in a template. |
Changes the text font and color.
{
"font": {"name":"Dialog","style":{"value":0},"size":{"value":48},"color":{"r":255,"g":255,"b":255,"a":255}}
}| Field | Values | What it does |
|---|---|---|
| name | font name | Selects the font family. |
| style.value | number | Stores font style. |
| size.value | number | Font size. |
| color |
r/g/b/a 0..255 |
Text color and opacity. |
Aligns text inside the layer.
{
"textAlign": {"value":0}
}| Field | Values | What it does |
|---|---|---|
| value or nested fields | depends on the setting type | Stores alignment value. |
Selects the coordinate notation.
{
"displayType": {"value":0}
}| Field | Values | What it does |
|---|---|---|
| value |
0 decimal with sign, 1 decimal with N/S/E/W, 2 degrees-minutes-seconds |
Index of the selected format. |
| value | Format | Example |
|---|---|---|
0 |
Decimal (with sign) | 55.7512440, 37.6184230 |
1 |
Decimal with N/S/E/W | 55.7512440°N, 37.6184230°E |
2 |
Degrees-minutes-seconds | 55°45'04.48"N, 37°37'06.32"E |
Sets the number of decimal places for decimal formats.
{
"precision": {"value":7}
}| Field | Values | What it does |
|---|---|---|
| value | integer 0..12
|
Number of decimal places. Default 7. |
Precision is taken into account only when displayType.value is 0 or 1. For the degrees-minutes-seconds format (2), seconds are always printed with two decimal places, and this field is ignored.