Skip to content
On this page

layer/add action

Arguments

KeyValue typeDescription
argsBundle (args)
idLayerId
indexnumber
typeLayerType

Bundles


args

KeyValue typeDescription
canvasUIbooleanall layer types
detectFilePropertiesbooleanimage, video: detect spherical properties of file when adding the layer
dynamicResbooleanwebview
enabledbooleanall layer types
hdbooleanyoutube: non-360 youtube layer
heightnumberimage, video
ignoreDefaultRegionbooleanall layer types
loopbackedLayerIdLayerIdloopback
pathstringimage, video, pdf, modelviewer
senderNamestringndi
sizeXnumberwebview, youtube
sizeYnumberwebview, youtube
urlstringwebview, youtube
widthnumberimage, video

Example URI string

  • layer/add?args=x+id=123456789+index=0.5+type=x