Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

try67
Community Expert
Community Expert
May 29, 2018

A layer is represented by the OCG object in JS, which is very limited.

From what you described you can only set its initial state and current state, using the initState and state properties, respectively.