Commit 33c28939 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

doc updated

parent 2e714849
Pipeline #2383 passed with stage
in 36 seconds
......@@ -542,18 +542,20 @@ TODO
* `showBioEntity({element, type, options})`
* Arguments:
* element - object identifying the element, it should contain three fields: id, type, model; where id is the element id, type is type of the element ('ALIAS', 'REACTION'), and model define submap on which it's defined
* type - how do you want to visualize BioEntity: '
* options - set of visualisation options: color, opacity, lineColor, lineWeight, lineOpacity
* type - how do you want to visualize BioEntity: 'ICON', 'SURFACE'
* options - set of visualization options: color, opacity, lineColor, lineWeight, lineOpacity
* Example:
```
customMap.showBioEntity({element:{id:18306,type:"ALIAS", modelId:5}, type: "SURFACE", options:{color:"#FF0000"}});
```
* `hideBioEntity({element, type})`
* Arguments: TODO
* Arguments:
* element - object identifying the element, it should contain three fields: id, type, model; where id is the element id, type is type of the element ('ALIAS', 'REACTION'), and model define submap on which it's defined
* type - which visualization of BioEntity you want to hide: 'ICON', 'SURFACE'
* Example:
```
TODO
customMap.hideBioEntity({element:{id:18306,type:"ALIAS", modelId:5}, type: "SURFACE"});
```
* `setCenter({modelId, x, y})`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment