Plan type control

Presents a diagram or plan with the locations and data of the selected data sources plotted on it.

Configuring

When configuring the `Source' control, fill in the fields:

  • Title - the text displayed on the button
  • Type - the type of the control: Plan
  • Names of measurements - names of measurements whose values are to be shown
  • Names on the control - names in the form to be displayed (e.g., translated into another language)
  • Group - identifier (EUI) of the group of data sources to be shown on the plan
  • Description - definition of the plan - SVG source code

Example

Plan source code

The SVG source code defined in the Control Description field must meet several rules:

  • sVG code should be pure (pure SVG, plain SVG) - it should not depend on add-ons often inserted by advanced editors (such as Inkscape, Adobe Illustrator, etc.)
  • the code must contain a viewbox definition - see example below

Also note that the coordinates defined for the data sources will be interpreted as coordinates inside the viewbox, that is, they are not GPS coordinates in this case. For example, the data source in the illustration above has coordinates (100,80).

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1000 1000" transform="scale(1,1)"> <rect x="4" y="2" width="980" height="663" fill="rgb(255, 255, 255)" stroke="black"/> <rect x="4" y="2" width="467.5" height="663" fill="rgb(255, 255, 255)" stroke="black"/> <rect x="4" y="2" width="467.5" height="250" fill="rgb(255, 255, 255)" stroke="black"/> <text textLength="93.2" font-size="26.7" x="10" y="30" fill="black">room1</text> <text textLength="93.2" font-size="26.7" x="10" y="280" fill="black">room2</text> <text textLength="93.2" font-size="26.7" x="480" y="30" fill="black">room3</text> </svg>
© 2023-2025 Grzegorz Skorupa