layerToggle
Examples
kind: ToggleLayer
layer: 1
icon:
kind: Icon
icon: fas-ambulance
Object properties
Name |
Type |
Required |
kind |
Constant: ToggleLayer |
yes |
layer |
One of |
yes |
icon |
Object: icon |
yes |
- Object with the following properties:
kind
(required): Constant ToggleLayer
- Button that shows or hides a layer of objects. Use subscription to assign objects to a layer
layer
(required):
- Layers to be hidden or shown
- One of the following types:
- Constant
0
- Constant
1
- Constant
2
- Constant
3
icon
(required): Object icon