You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**control_id : str.* An unique control identity string. The control identity string must be a unique string for each control per device.
449
+
**title : str, optional.* Title of the control, by default "A Label".
450
+
**control_position : ControlPosition, optional.* The position of the control on a DeviceView, by default None
451
+
**title_position : TitlePosition, optional.* Position of the title when displayed on the **Dash** app, by default None.
452
+
**column_no : int.* Optional default is 1. Must be 1..3. The Dash App reports its screen size in columns. column_no allows you to specify which column no to load into. Each control can store three configs that define how the device looks for Dash apps installed on single column phones or 2 column fold out phones or 3 column tablets.
453
+
454
+
#### Map Methods
455
+
456
+
**from_cfg_dict(cls, cfg_dict: dict):* Instantiate a Map as defined from the dictionary. [See Helper Functions](#helper-functions) for tools to use the CFG64 txt generated by exporting a layout from the **Dash** app.
457
+
**add_location_to_track(self, location: MapLocation, track_id: str)* Adds a location to a track and sends it.
458
+
**send_location(self, location: MapLocation, track_id: str = "")* Sends a location.
459
+
445
460
### Menu
446
461
447
462
A Menu control is used to present a popup table of user adjustable controls and is ideal for presenting a list of IoT device setup parameters. The Menu does not receive messages directly, but presents a list of other controls (sub-controls) that send and receive messages of their own.
0 commit comments