geo.maps

GeoMaps file

type

object

properties

  • templateId

The id of the template to use for this file

type

string

  • templateVariables

The variables and their values to be replaced from the template

type

object

additionalProperties

  • variablesFiles

The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files.

type

array

items

type

string

  • isTemplateGeneratedByOspComposer

If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation.

type

boolean

  • moduleId

The maps module (module.maps) that this device will use to communicate. For example modules.maps.maps-1 is the default OnSphere path of the maps module.

type

string

  • geoJsonString

GeoJSON is a format for encoding a variety of geographic data structures using JavaScript Object Notation (JSON).

It is used for representing geographical features along with their non-spatial attributes. This parameter has to be passed as a raw string, for example :

{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [6.522226, 46.61, 123]
  },
  "properties": {
    "name": "Test",
    "label": {
      "name": "Test",
      "text-color": "#ffffff"
    }
  }
}

additionalProperties

False