Skip to content

feat(pluginevents): add dispatching event onsearch on map click (MIN-296)

Piotr reported that clicking on the map should also trigger the onSearch listener.

Data to dispatch:

If type Alias:

  • type: 'bioEntity'
  • searchResults schema: [{ "id": 18904, "modelId": 52, "type": "ALIAS" }]
  • results schema: [bioEntityContents]

If type Reaction:

  • type: 'bioEntity'
  • searchResults schema: [{ "id": 18904, "modelId": 52, "type": "REACTION" }]
  • results schema: [bioEntityContents]

onsearch-click-map

Closes MIN-296

Edited by mateusz-winiarczyk

Merge request reports

Loading