The unique id of the Layer
The human-readable name of the Layer
Whether this Layer toggled on or off
Subscribe to changes on this object. When this observable detects a change, the
observerprovided will be called with the data associated with this observable.
A subscription that can be used to remove the subscribed observer.
Toggle this Layer's state to
Optional active: undefined | false | true
Whether this Layer toggled on or off. If
activeis undefined, the state is flipped
Wait for a specific condition on this object to be met. When this observable detects a change, the
conditionprovided will be called. When the
conditionreturns true, the returned Promise will be resolved.
A promise that is resolved when