Plan
type controlPresents a diagram or plan with the locations and data of the selected data sources plotted on it.
When configuring the `Source' control, fill in the fields:
Plan
The SVG source code defined in the Control Description
field must meet several rules:
viewbox
definition - see example belowAlso 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>