Mappview Toggle Button Properties

How to add multiple states to the toggle button in the mappview. Eg, Separate boolean bit for ON command and separate boolean bit OFF command.

Hi!

Using a simple binding won’t give you this possibility, but I see two possibilities:

  1. Helper variable:
    Bind a helper variable and realize the desired function in your functional code.
  2. Event - action system:
    Create an event action that is triggered by the state change of the toggle button and set your necessary variables depending if the switch is turned on or off.

Best regards

Manfred

2 Likes