Repository navigation
User JSON GeoMapIndicator
roosit edited this page May 15, 2026
·
3 revisions
Back to list | Indicator page | Russian
This page describes the JSON template for the geoMap indicator for manual .vttp editing.
{
"name": "com.velitask.plagin.official.geoMap",
"data": {
"maket": { "preset": "auto" },
"properties": {
"Geo": {},
"mapTiles": {},
"visible": {"value":true},
"fitTrack": {"value":true},
"geoZoom": {"value":15},
"transparency": {"value":0}
},
"figures": [{"name":"track","properties":{"Geo":{},"line":{"lineColor":{"r":255,"g":255,"b":255,"a":255},"thickness":{"value":1},"style":{"value":0},"dashPattern":{"value":""}}}},{"name":"position","properties":{"Geo":{},"fillColor":{"r":0,"g":0,"b":200,"a":255},"borderColor":{"r":255,"g":255,"b":255,"a":255},"size":{"value":30}}}]
}
}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. |
Defines map tile source and cache.
{
"mapTiles": {}
}| Field | Values | What it does |
|---|---|---|
| value or nested fields | depends on the setting type | Stores the setting value. |
Shows or hides the background map.
{
"visible": {"value":true}
}| Field | Values | What it does |
|---|---|---|
| value or nested fields | depends on the setting type | Stores the setting value. |
Automatically chooses zoom so the track fits into the layer.
{
"fitTrack": {"value":true}
}| Field | Values | What it does |
|---|---|---|
| value or nested fields | depends on the setting type | Stores the setting value. |
Sets map zoom when fit-to-track is disabled.
{
"geoZoom": {"value":15}
}| Field | Values | What it does |
|---|---|---|
| value | number from the setting range | Setting value. |
Makes the background map more transparent.
{
"transparency": {"value":0}
}| Field | Values | What it does |
|---|---|---|
| value | number from the setting range | Setting value. |
Map figures draw the track and the current position. The map has track and position by default.
{
"figures": [{"name":"track","properties":{"Geo":{},"line":{"lineColor":{"r":255,"g":255,"b":255,"a":255},"thickness":{"value":1},"style":{"value":0},"dashPattern":{"value":""}}}},{"name":"position","properties":{"Geo":{},"fillColor":{"r":0,"g":0,"b":200,"a":255},"borderColor":{"r":255,"g":255,"b":255,"a":255},"size":{"value":30}}}]
}| Field | Values | What it does |
|---|---|---|
| name | track, position | Selects the map figure. |
| properties | figure settings object | Stores track line or position marker settings. |