« Back to Product

Documentation

SelectLocation

Require: IP-Symcon >= 5.0

Creates an input for a position with the caption caption. Here, the position can be selected via map if internet access is available. Alternatively, the longitude and latitude can also be entered manually.

Example
Dialog

If created in the "elements" area, the property name is set to a JSON-coded object, which contains the following parameters:

Parameter Description
latitude Latitude of the position
longitude Longitude of the position

If no position was selected, all parameters are set to 0.

Parameters

Parameter Description
caption Visible caption
enabled (optional) (default: true) If true, the selection can be used, otherwise it is displayed as deactivated (since IP-Symcon 5.2)
name (optional) Name of the selection/the property to be set
type SelectLocation
value (optional) (default: no position selected) The value of the selection - If there is an associated property, this parameter will be overwritten by the property in the elements area (since IP-Symcon 5.2)
visible (optional) (default: true) If true, the selection is visible, otherwise it is invisible (since IP-Symcon 5.2)
width (optional) (default: 300px) Fixed width of the input field in pixels or % as a string, e.g. "40%" or "250px" (since IP-Symcon 5.3)

Example

{ "type": "SelectLocation", "name": "Location", "caption": "Home" }
Any questions?