Home > Geopedia API > toggle

toggle

Toggles a visibility of elements, specified in the list of "toggleables".

Command JSON members:

  • command: "toggle",
  • toggleables: [<list ob toggleables>] where toggleables consist of {target:"table"/"themeTable", identifier:<ID>, value:"on"/"off"}

No response is returned.

Example:


{"command":"toggle","toggleables":[ 
     {"target":"table","identifier":123,"value":"on"}, 
     {"target":"table","identifier":456,"value":"off"} 
]}