Repository navigation
User JSON CompassIndicator
roosit edited this page May 15, 2026
·
2 revisions
Back to list | Indicator page | Russian
This page describes the JSON template for the compass indicator for manual .vttp editing.
{
"name": "com.velitask.plagin.official.compass",
"data": {
"maket": { "preset": "auto" },
"properties": {
"Geo": {},
"bodyColor": {"r":34,"g":51,"b":68,"a":255},
"ringColor": {"r":255,"g":255,"b":255,"a":255},
"needleNorthColor": {"r":204,"g":51,"b":51,"a":255},
"needleSouthColor": {"r":221,"g":221,"b":221,"a":255}
}
}
}Selects the GPS sensor.
{
"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 body fill color.
{
"bodyColor": {"r":34,"g":51,"b":68,"a":255}
}| Field | Values | What it does |
|---|---|---|
| r | 0..255 | Red channel. |
| g | 0..255 | Green channel. |
| b | 0..255 | Blue channel. |
| a | 0..255 | Alpha: 0 is transparent, 255 is opaque. |
Changes the ring and ticks.
{
"ringColor": {"r":255,"g":255,"b":255,"a":255}
}| Field | Values | What it does |
|---|---|---|
| r | 0..255 | Red channel. |
| g | 0..255 | Green channel. |
| b | 0..255 | Blue channel. |
| a | 0..255 | Alpha: 0 is transparent, 255 is opaque. |
Changes the north side of the needle.
{
"needleNorthColor": {"r":204,"g":51,"b":51,"a":255}
}| Field | Values | What it does |
|---|---|---|
| r | 0..255 | Red channel. |
| g | 0..255 | Green channel. |
| b | 0..255 | Blue channel. |
| a | 0..255 | Alpha: 0 is transparent, 255 is opaque. |
Changes the south side of the needle.
{
"needleSouthColor": {"r":221,"g":221,"b":221,"a":255}
}| Field | Values | What it does |
|---|---|---|
| r | 0..255 | Red channel. |
| g | 0..255 | Green channel. |
| b | 0..255 | Blue channel. |
| a | 0..255 | Alpha: 0 is transparent, 255 is opaque. |