@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
41 lines (31 loc) • 925 B
Markdown
# command: viewer.load-layout
Description: Loads a new layout. Can be a layout URL or layout XML, or a Layout object. Web only.
Inputs: `( Model | string )`
Model properties:
```json
{
"id": {
"description": "The unique ID for this entity.",
"type": "string",
"isRequired": "true"
},
"itemType": {
"description": "The item type for this entity when it participates in an App.",
"type": "string",
"isRequired": "true"
}
}
```
# command: viewer.log-debug
Description: Writes the operation context object to the console or log viewer at the debug level.
Inputs: `unknown`
# command: viewer.post-message
Description: Post a message to the parent frame of the viewer. Web only.
Inputs: `unknown`
# command: viewer.set-debug-mode
Description: Turn the debug mode of the viewer on or off. This can also be done using the debug=true URL parameter. Web only.
Inputs: `boolean`