Skip to content

User JSON GeoMapIndicator

roosit edited this page May 15, 2026 · 3 revisions

Map JSON

Back to list | Indicator page | Russian

Purpose

This page describes the JSON template for the geoMap indicator for manual .vttp editing.

Full Template

{
  "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}}}]
  }
}

Settings

Geo

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.

mapTiles

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.

visible

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.

fitTrack

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.

geoZoom

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.

transparency

Makes the background map more transparent.

{
  "transparency": {"value":0}
}
Field Values What it does
value number from the setting range Setting value.

figures

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.

Clone this wiki locally