Skip to content
Snippets Groups Projects

Resolve "Allow plugin to add entries to context menu"

Merged Piotr Gawron requested to merge 307-allow-plugin-to-add-entries-to-context-menu into development
12 files
+ 241
31
Compare changes
  • Side-by-side
  • Inline
Files
12
@@ -19,7 +19,7 @@ Below is a description of the methods, as well as the types they return. A descr
- gets list of added markers
- returns array of `Marker`
- `getShownElements`
- gets list of all currently shown content/chemicals/drugs bioentities + markers
- gets list of all currently shown content/chemicals/drugs BioEntities + markers
- returns object of
```
{
@@ -68,12 +68,12 @@ Below is a description of the methods, as well as the types they return. A descr
- **opacity** - should be a float between `0` and `1` (example: `0.54`)
- **x** - x coord on the map [surface/pin marker only]
- **y** - y coord on the map [surface/pin marker only]
- **width** - width of surface [surface marker only]
- **height** - width of height [surface marker only]
- **number** - number presented on the pin [pin marker only]
- **width** - width of surface
- **height** - height of surface
- **number** - number presented on the pin
- **modelId** - if marker should be visible only on single map, modelId should be provided
- **start** - start point of the line [line marker only]
- **end** - end point of the line [line marker only]
- **start** - start point of the line
- **end** - end point of the line
- adds one marker to markers list
- returns created `Marker`
- examples:
Loading