@abi-software/flatmapvuer 1.5.2 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -422,13 +422,14 @@ Please use `const` to assign meaningful names to them...
422
422
  virtual-triggering
423
423
  >
424
424
  <el-row v-for="item in openMapOptions" :key="item.key">
425
+ <!--
426
+ This event is emitted when the user chooses a different map option
427
+ from ``openMapOptions`` props.
428
+ @event open-map
429
+ @arg {String} `mapOption.key`
430
+ -->
425
431
  <el-button type="primary" plain
426
- @click="/**
427
- * This event is emitted when the user chooses a different map option
428
- * from ``openMapOptions`` props.
429
- * @arg mapOption.key
430
- * */
431
- $emit('open-map', item.key)"
432
+ @click="$emit('open-map', item.key)"
432
433
  >
433
434
  {{ item.display }}
434
435
  </el-button>
@@ -788,7 +789,7 @@ export default {
788
789
  },
789
790
  methods: {
790
791
  /**
791
- * @vuese
792
+ * @public
792
793
  * Function to initialise drawing.
793
794
  */
794
795
  initialiseDrawing: function () {
@@ -798,7 +799,7 @@ export default {
798
799
  this.drawnCreatedEvent = {}
799
800
  },
800
801
  /**
801
- * @vuese
802
+ * @public
802
803
  * Function to cancel a newly drawn feature.
803
804
  */
804
805
  cancelDrawnFeature: function () {
@@ -813,9 +814,9 @@ export default {
813
814
  }
814
815
  },
815
816
  /**
816
- * @vuese
817
+ * @public
817
818
  * Function to display connected features' tooltip for drawn connectivity.
818
- * @arg id
819
+ * @param {String} `id`
819
820
  */
820
821
  connectedFeatureTooltip: function (value) {
821
822
  if (this.mapImp) {
@@ -838,7 +839,7 @@ export default {
838
839
  }
839
840
  },
840
841
  /**
841
- * @vuese
842
+ * @public
842
843
  * Function to confirm a newly drawn feature.
843
844
  */
844
845
  confirmDrawnFeature: function () {
@@ -854,9 +855,10 @@ export default {
854
855
  }
855
856
  },
856
857
  /**
857
- * @vuese
858
+ * @public
858
859
  * Function to process the annotation toolbar click events.
859
- * @arg type
860
+ * @arg {String} `type`
861
+ * @arg {String} `name`
860
862
  */
861
863
  toolbarEvent: function (type, name) {
862
864
  this.closeTooltip()
@@ -883,10 +885,10 @@ export default {
883
885
  }
884
886
  },
885
887
  /**
886
- * @vuese
888
+ * @public
887
889
  * Function to fire annotation event based on the provided ``data``.
888
890
  * Either edit or delete action.
889
- * @arg data
891
+ * @arg {Object} `data`
890
892
  */
891
893
  annotationDrawModeEvent: function (data) {
892
894
  if (this.activeDrawMode === 'Edit') {
@@ -925,9 +927,9 @@ export default {
925
927
  }
926
928
  },
927
929
  /**
928
- * @vuese
930
+ * @public
929
931
  * Function to update the annotation draw mode.
930
- * @arg mode
932
+ * @arg {Object} `mode`
931
933
  */
932
934
  changeAnnotationDrawMode: function (mode) {
933
935
  if (this.mapImp) {
@@ -935,7 +937,7 @@ export default {
935
937
  }
936
938
  },
937
939
  /**
938
- * @vuese
940
+ * @public
939
941
  * Function to remove all drawn annotations from flatmap annotation layer.
940
942
  */
941
943
  clearAnnotationFeature: function () {
@@ -947,7 +949,7 @@ export default {
947
949
  }
948
950
  },
949
951
  /**
950
- * @vuese
952
+ * @public
951
953
  * Function to fire the ``trash`` action.
952
954
  * See https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/API.md#trash-draw for more details.
953
955
  */
@@ -960,7 +962,7 @@ export default {
960
962
  }
961
963
  },
962
964
  /**
963
- * @vuese
965
+ * @public
964
966
  * Function to rollback the failure drawn from flatmap annotation layer.
965
967
  */
966
968
  rollbackAnnotationEvent: function () {
@@ -974,9 +976,9 @@ export default {
974
976
  }
975
977
  },
976
978
  /**
977
- * @vuese
979
+ * @public
978
980
  * Function to commit the emitted ``annotation`` data from successful new drawn to flatmap annotation layer.
979
- * @arg annotation
981
+ * @arg {Object} `annotation`
980
982
  */
981
983
  commitAnnotationEvent: function (annotation) {
982
984
  if (
@@ -997,10 +999,10 @@ export default {
997
999
  }
998
1000
  },
999
1001
  /**
1000
- * @vuese
1002
+ * @public
1001
1003
  * Function to fetch annotated item id.
1002
- * @arg userId,
1003
- * @arg participated
1004
+ * @arg {String} `userId`,
1005
+ * @arg {String} `participated`
1004
1006
  */
1005
1007
  fetchAnnotatedItemIds: async function (userId = undefined, participated = undefined) {
1006
1008
  let annotatedItemIds = await this.annotator.annotatedItemIds(this.userToken, this.serverURL, userId, participated)
@@ -1009,7 +1011,7 @@ export default {
1009
1011
  return annotatedItemIds
1010
1012
  },
1011
1013
  /**
1012
- * @vuese
1014
+ * @public
1013
1015
  * Function to add existing drawn annotations to flatmap.
1014
1016
  */
1015
1017
  setFeatureAnnotated: async function () {
@@ -1021,10 +1023,10 @@ export default {
1021
1023
  }
1022
1024
  },
1023
1025
  /**
1024
- * @vuese
1026
+ * @public
1025
1027
  * Function to fetch drawn features.
1026
- * @arg userId,
1027
- * @arg participated
1028
+ * @arg {String} `userId`,
1029
+ * @arg {String} `participated`
1028
1030
  */
1029
1031
  fetchDrawnFeatures: async function (userId, participated) {
1030
1032
  const annotatedItemIds = await this.fetchAnnotatedItemIds(userId, participated)
@@ -1040,7 +1042,7 @@ export default {
1040
1042
  return drawnFeatures
1041
1043
  },
1042
1044
  /**
1043
- * @vuese
1045
+ * @public
1044
1046
  * Function to draw existing drawn annotations based on selector.
1045
1047
  */
1046
1048
  addAnnotationFeature: async function () {
@@ -1066,9 +1068,9 @@ export default {
1066
1068
  }
1067
1069
  },
1068
1070
  /**
1069
- * @vuese
1071
+ * @public
1070
1072
  * Function to display annotator toolbar.
1071
- * @arg flag
1073
+ * @arg {Boolean} `flag`
1072
1074
  */
1073
1075
  showAnnotator: function (flag) {
1074
1076
  if (this.mapImp) {
@@ -1079,9 +1081,9 @@ export default {
1079
1081
  }
1080
1082
  },
1081
1083
  /**
1082
- * @vuese
1084
+ * @public
1083
1085
  * Function to switch the type of annotation.
1084
- * @arg flag
1086
+ * @arg {Boolean} `flag`
1085
1087
  */
1086
1088
  setDrawnType: function (flag) {
1087
1089
  this.drawnType = flag
@@ -1091,9 +1093,9 @@ export default {
1091
1093
  }
1092
1094
  },
1093
1095
  /**
1094
- * @vuese
1096
+ * @public
1095
1097
  * Function to switch the type of person who annotated.
1096
- * @arg flag
1098
+ * @arg {Boolean} `flag`
1097
1099
  */
1098
1100
  setAnnotatedType: function (flag) {
1099
1101
  this.annotatedType = flag
@@ -1102,9 +1104,9 @@ export default {
1102
1104
  }
1103
1105
  },
1104
1106
  /**
1105
- * @vuese
1107
+ * @public
1106
1108
  * Function to switch from 2D to 3D
1107
- * @arg flag
1109
+ * @arg {Boolean} `flag`
1108
1110
  */
1109
1111
  setFlightPath3D: function (flag) {
1110
1112
  this.flightPath3DRadio = flag
@@ -1113,7 +1115,7 @@ export default {
1113
1115
  }
1114
1116
  },
1115
1117
  /**
1116
- * @vuese
1118
+ * @public
1117
1119
  * Function to view the latest map (example when you are on legacy map).
1118
1120
  */
1119
1121
  viewLatestMap: function () {
@@ -1133,10 +1135,10 @@ export default {
1133
1135
  this.$emit('view-latest-map', state)
1134
1136
  },
1135
1137
  /**
1136
- * @vuese
1138
+ * @public
1137
1139
  * Function to change the background colour of the map
1138
1140
  * by providing the ``colour``.
1139
- * @arg colour
1141
+ * @arg {String} `colour`
1140
1142
  */
1141
1143
  backgroundChangeCallback: function (colour) {
1142
1144
  this.currentBackground = colour
@@ -1145,9 +1147,9 @@ export default {
1145
1147
  }
1146
1148
  },
1147
1149
  /**
1148
- * @vuese
1150
+ * @public
1149
1151
  * Function to process a list of a FC flatmap's systems.
1150
- * @arg systems
1152
+ * @arg {Array} `systems`
1151
1153
  */
1152
1154
  processSystems: function (systems) {
1153
1155
  this.systems.length = 0
@@ -1169,11 +1171,11 @@ export default {
1169
1171
  }
1170
1172
  },
1171
1173
  /**
1172
- * @vuese
1174
+ * @public
1173
1175
  * Function to add taxon identifiers into the taxon connectivity array,
1174
1176
  * by retrieving their corresponding labels using the flatmap API.
1175
- * @arg flatmapAPI,
1176
- * @arg taxonIdentifiers
1177
+ * @arg {String} `flatmapAPI`,
1178
+ * @arg {Array} `taxonIdentifiers`
1177
1179
  */
1178
1180
  processTaxon: function (flatmapAPI, taxonIdentifiers) {
1179
1181
  this.taxonConnectivity.length = 0
@@ -1185,17 +1187,17 @@ export default {
1185
1187
  })
1186
1188
  },
1187
1189
  /**
1188
- * @vuese
1190
+ * @public
1189
1191
  * Function to show or hide the display of the bottom-left drawer container.
1190
1192
  */
1191
1193
  toggleDrawer: function () {
1192
1194
  this.drawerOpen = !this.drawerOpen
1193
1195
  },
1194
1196
  /**
1195
- * @vuese
1197
+ * @public
1196
1198
  * Function to toggle colour/greyscale of organs.
1197
1199
  * The parameter ``flag`` is a boolean, ``true`` (colour) and ``false`` (greyscale).
1198
- * @arg flag
1200
+ * @arg {Boolean} `flag`
1199
1201
  */
1200
1202
  setColour: function (flag) {
1201
1203
  this.colourRadio = flag
@@ -1204,10 +1206,10 @@ export default {
1204
1206
  }
1205
1207
  },
1206
1208
  /**
1207
- * @vuese
1209
+ * @public
1208
1210
  * Function to toggle outlines f organs.
1209
1211
  * The parameter ``flag`` is a boolean, ``true`` to show outlines, ``false`` to hide outlines.
1210
- * @arg flag
1212
+ * @arg {Boolean} `flag`
1211
1213
  */
1212
1214
  setOutlines: function (flag) {
1213
1215
  this.outlineRadio = flag
@@ -1216,7 +1218,7 @@ export default {
1216
1218
  }
1217
1219
  },
1218
1220
  /**
1219
- * @vuese
1221
+ * @public
1220
1222
  * Function to toggle paths to default.
1221
1223
  * Also called when the associated button is pressed.
1222
1224
  */
@@ -1241,7 +1243,7 @@ export default {
1241
1243
  }
1242
1244
  },
1243
1245
  /**
1244
- * @vuese
1246
+ * @public
1245
1247
  * Function to zoom in.
1246
1248
  * Also called when the associated button is pressed.
1247
1249
  */
@@ -1251,7 +1253,7 @@ export default {
1251
1253
  }
1252
1254
  },
1253
1255
  /**
1254
- * @vuese
1256
+ * @public
1255
1257
  * Function to zoom out.
1256
1258
  * Also called when the associated button is pressed.
1257
1259
  */
@@ -1261,11 +1263,11 @@ export default {
1261
1263
  }
1262
1264
  },
1263
1265
  /**
1264
- * @vuese
1266
+ * @public
1265
1267
  * Function to show or hide centrelines and nodes.
1266
1268
  * The parameter ``payload`` is an object with a boolean property, ``value``,
1267
1269
  * ``payload.value = true/false``.
1268
- * @arg payload
1270
+ * @arg {Object} `payload`
1269
1271
  */
1270
1272
  centreLinesSelected: function (payload) {
1271
1273
  if (this.mapImp) {
@@ -1299,10 +1301,10 @@ export default {
1299
1301
  }
1300
1302
  },
1301
1303
  /**
1302
- * @vuese
1304
+ * @public
1303
1305
  * Function to highlight the connected paths
1304
1306
  * by providing path model identifier, ``pathId``.
1305
- * @arg pathId
1307
+ * @arg {String} `pathId`
1306
1308
  */
1307
1309
  highlightConnectedPaths: async function (payload) {
1308
1310
  if (this.mapImp) {
@@ -1373,10 +1375,10 @@ export default {
1373
1375
  }
1374
1376
  },
1375
1377
  /**
1376
- * @vuese
1378
+ * @public
1377
1379
  * Function to enable/disable mouse enter and leave event for
1378
1380
  * alert checkbox
1379
- * @arg payload
1381
+ * @arg {Object} `payload`
1380
1382
  */
1381
1383
  alertMouseEnterEmitted: function (payload) {
1382
1384
  if (this.mapImp) {
@@ -1398,10 +1400,10 @@ export default {
1398
1400
  }
1399
1401
  },
1400
1402
  /**
1401
- * @vuese
1403
+ * @public
1402
1404
  * Function to enable/disable (show/hide) pathways with/without alert
1403
1405
  * by providing ``kay, value`` ``payload`` object ``{alertKey, true/false}``.
1404
- * @arg payload
1406
+ * @arg {Object} `payload`
1405
1407
  */
1406
1408
  alertSelected: function (payload) {
1407
1409
  if (this.mapImp) {
@@ -1422,10 +1424,10 @@ export default {
1422
1424
  }
1423
1425
  },
1424
1426
  /**
1425
- * @vuese
1427
+ * @public
1426
1428
  * Function to enable/disable (show/hide) all alerts
1427
1429
  * option by providing ``flag`` (true/false).
1428
- * @arg flag
1430
+ * @arg {Boolean} `flag`
1429
1431
  */
1430
1432
  checkAllAlerts: function (payload) {
1431
1433
  if (this.mapImp) {
@@ -1440,10 +1442,10 @@ export default {
1440
1442
  }
1441
1443
  },
1442
1444
  /**
1443
- * @vuese
1445
+ * @public
1444
1446
  * Function to enable/disable (show/hide) the system
1445
1447
  * by providing ``kay, value`` ``payload`` object ``{systemId, true/false}``.
1446
- * @arg payload
1448
+ * @arg {Object} `payload`
1447
1449
  */
1448
1450
  systemSelected: function (payload) {
1449
1451
  if (this.mapImp) {
@@ -1451,10 +1453,10 @@ export default {
1451
1453
  }
1452
1454
  },
1453
1455
  /**
1454
- * @vuese
1456
+ * @public
1455
1457
  * Function to enable/disable (show/hide) all systems
1456
1458
  * by providing ``flag`` (true/false).
1457
- * @arg flag
1459
+ * @arg {Boolean} `flag`
1458
1460
  */
1459
1461
  checkAllSystems: function (flag) {
1460
1462
  if (this.mapImp) {
@@ -1464,18 +1466,18 @@ export default {
1464
1466
  }
1465
1467
  },
1466
1468
  /**
1467
- * @vuese
1469
+ * @public
1468
1470
  * Function to display features with annotation matching the provided term.
1469
- * @arg models
1471
+ * @arg {String} `models`
1470
1472
  */
1471
1473
  ftuSelected: function (models) {
1472
1474
  this.searchAndShowResult(models, true)
1473
1475
  },
1474
1476
  /**
1475
- * @vuese
1477
+ * @public
1476
1478
  * Function to show or hide the layer
1477
1479
  * by providing ``{layerId, true/false}`` in ``payload``.
1478
- * @arg payload
1480
+ * @arg {Object} `payload`
1479
1481
  */
1480
1482
  layersSelected: function (payload) {
1481
1483
  if (this.mapImp) {
@@ -1483,10 +1485,10 @@ export default {
1483
1485
  }
1484
1486
  },
1485
1487
  /**
1486
- * @vuese
1488
+ * @public
1487
1489
  * Function to show or hide all layers
1488
1490
  * by providing ``payload`` with ``payload.keys`` array and ``payload.value`` flag.
1489
- * @arg payload
1491
+ * @arg {Object} `payload`
1490
1492
  */
1491
1493
  checkAllLayers: function (payload) {
1492
1494
  if (this.mapImp) {
@@ -1496,10 +1498,10 @@ export default {
1496
1498
  }
1497
1499
  },
1498
1500
  /**
1499
- * @vuese
1501
+ * @public
1500
1502
  * Function to show or hide connectivity features studied in particular species
1501
1503
  * by providing ``{taxonId, true/false}`` in ``payload.key, payload.value``.
1502
- * @arg payload
1504
+ * @arg {Object} `payload`
1503
1505
  */
1504
1506
  taxonsSelected: function (payload) {
1505
1507
  if (this.mapImp) {
@@ -1523,10 +1525,10 @@ export default {
1523
1525
  }
1524
1526
  },
1525
1527
  /**
1526
- * @vuese
1528
+ * @public
1527
1529
  * Function to show or hide connectivity features studied in particular species
1528
1530
  * by providing ``payload`` with ``payload.keys`` array and ``payload.value`` flag.
1529
- * @arg payload
1531
+ * @arg {Object} `payload`
1530
1532
  */
1531
1533
  checkAllTaxons: function (payload) {
1532
1534
  if (this.mapImp) {
@@ -1536,10 +1538,10 @@ export default {
1536
1538
  }
1537
1539
  },
1538
1540
  /**
1539
- * @vuese
1541
+ * @public
1540
1542
  * Function to hide or show paths of a given type
1541
1543
  * by providing ``{pathType, true/false}`` in ``payload.key, payload.value``.
1542
- * @arg payload
1544
+ * @arg {Object} `payload`
1543
1545
  */
1544
1546
  pathwaysSelected: function (payload) {
1545
1547
  if (this.mapImp) {
@@ -1547,10 +1549,10 @@ export default {
1547
1549
  }
1548
1550
  },
1549
1551
  /**
1550
- * @vuese
1552
+ * @public
1551
1553
  * Function to hide or show paths of a given type
1552
1554
  * by providing ``payload`` with ``payload.keys`` array and ``payload.value`` flag.
1553
- * @arg payload
1555
+ * @arg {Object} `payload`
1554
1556
  */
1555
1557
  checkAllPathways: function (payload) {
1556
1558
  if (this.mapImp) {
@@ -1560,19 +1562,19 @@ export default {
1560
1562
  }
1561
1563
  },
1562
1564
  /**
1563
- * @vuese
1565
+ * @public
1564
1566
  * Function to generate callbacks as a result of panning/zooming the map.
1565
1567
  * ``flag`` (boolean) - generate callbacks when ``true``, otherwise disable them.
1566
- * @arg flag
1568
+ * @arg {Boolean} `flag`
1567
1569
  */
1568
1570
  enablePanZoomEvents: function (flag) {
1569
1571
  this.mapImp.enablePanZoomEvents(flag)
1570
1572
  },
1571
1573
  /**
1572
- * @vuese
1574
+ * @public
1573
1575
  * Function to process annotation callbacks, invoked when events occur with the map.
1574
- * @arg payload,
1575
- * @arg data
1576
+ * @arg {Object} `payload`,
1577
+ * @arg {Object} `data`
1576
1578
  */
1577
1579
  annotationEventCallback: function (payload, data) {
1578
1580
  // Popup closed will trigger aborted event this is used to control the tooltip
@@ -1616,7 +1618,7 @@ export default {
1616
1618
  }
1617
1619
  },
1618
1620
  /**
1619
- * @vuese
1621
+ * @public
1620
1622
  * A callback function, invoked when events occur with the map.
1621
1623
  * The first parameter gives the type of event, the second provides details about the event.
1622
1624
  * _(This is the ``callback`` function from ``MapManager.loadMap()``)_.
@@ -1705,10 +1707,11 @@ export default {
1705
1707
  }
1706
1708
  },
1707
1709
  /**
1708
- * @vuese
1710
+ * @public
1709
1711
  * Function triggered by viewing mode change.
1710
1712
  * (e.g., from 'Exploration' to 'Annotation')
1711
1713
  * All tooltips and popups currently showing on map will be closed
1714
+ * @arg {String} `modeName`
1712
1715
  */
1713
1716
  changeViewingMode: function (modeName) {
1714
1717
  if (modeName) {
@@ -1717,10 +1720,10 @@ export default {
1717
1720
  this.closeTooltip()
1718
1721
  },
1719
1722
  /**
1720
- * @vuese
1723
+ * @public
1721
1724
  * Function to create/display tooltips from the provided ``data``.
1722
1725
  * _checkNeuronClicked shows a neuron path pop up if a path was recently clicked._
1723
- * @arg data
1726
+ * @arg {Object} `data`
1724
1727
  */
1725
1728
  checkAndCreatePopups: async function (data) {
1726
1729
  // Call flatmap database to get the connection data
@@ -1789,7 +1792,7 @@ export default {
1789
1792
  }
1790
1793
  },
1791
1794
  /**
1792
- * @vuese
1795
+ * @public
1793
1796
  * Function to close tooltip.
1794
1797
  */
1795
1798
  closeTooltip: function () {
@@ -1799,20 +1802,20 @@ export default {
1799
1802
  })
1800
1803
  },
1801
1804
  /**
1802
- * @vuese
1805
+ * @public
1803
1806
  * Function to create tooltip from Neuron Curation ``data``.
1804
- * @arg data
1807
+ * @arg {Object} `data`
1805
1808
  */
1806
1809
  createTooltipFromNeuronCuration: async function (data) {
1807
1810
  this.tooltipEntry = await this.flatmapQueries.createTooltipData(data)
1808
1811
  this.displayTooltip(data.resource[0])
1809
1812
  },
1810
1813
  /**
1811
- * @vuese
1814
+ * @public
1812
1815
  * Function to show popup on map.
1813
- * @arg featureId,
1814
- * @arg node,
1815
- * @arg options
1816
+ * @arg {String} `featureId`,
1817
+ * @arg {Object} `node`,
1818
+ * @arg {Object} `options`
1816
1819
  */
1817
1820
  showPopup: function (featureId, node, options) {
1818
1821
  // Keeping this as an API
@@ -1827,11 +1830,11 @@ export default {
1827
1830
  }
1828
1831
  },
1829
1832
  /**
1830
- * @vuese
1833
+ * @public
1831
1834
  * Function to show marker popup.
1832
- * @arg featureId,
1833
- * @arg node,
1834
- * @arg options
1835
+ * @arg {String} `featureId`,
1836
+ * @arg {Object} `node`,
1837
+ * @arg {Object} `options`
1835
1838
  */
1836
1839
  showMarkerPopup: function (featureId, node, options) {
1837
1840
  if (this.mapImp) {
@@ -1839,7 +1842,7 @@ export default {
1839
1842
  }
1840
1843
  },
1841
1844
  /**
1842
- * @vuese
1845
+ * @public
1843
1846
  * Function to close minimap.
1844
1847
  */
1845
1848
  closeMinimap: function () {
@@ -1874,10 +1877,10 @@ export default {
1874
1877
  }
1875
1878
  },
1876
1879
  /**
1877
- * @vuese
1880
+ * @public
1878
1881
  * Function to set help mode
1879
1882
  * by providing flag ``helpMode`` (true/false).
1880
- * @arg helpMode
1883
+ * @arg {Boolean} `helpMode`
1881
1884
  */
1882
1885
  setHelpMode: function (helpMode) {
1883
1886
  const toolTipsLength = this.hoverVisibilities.length;
@@ -1959,10 +1962,11 @@ export default {
1959
1962
  }
1960
1963
  },
1961
1964
  /**
1962
- * @vuese
1965
+ * @public
1963
1966
  * Function to show tooltip
1964
1967
  * by providing ``tooltipNumber``.
1965
- * @arg tooltipNumber
1968
+ * @arg {Number} `tooltipNumber`
1969
+ * @arg {Number} `timeout` _(default: `500`)_
1966
1970
  */
1967
1971
  showTooltip: function (tooltipNumber, timeout = 500) {
1968
1972
  if (!this.inHelp) {
@@ -1978,10 +1982,11 @@ export default {
1978
1982
  },
1979
1983
 
1980
1984
  /**
1981
- * @vuese
1985
+ * @public
1982
1986
  * Function to hide tooltip
1983
1987
  * by providing ``tooltipNumber``.
1984
- * @arg tooltipNumber
1988
+ * @arg {Number} `tooltipNumber`
1989
+ * @arg {Number} `timeout` _(default: `500`)_
1985
1990
  */
1986
1991
  hideTooltip: function (tooltipNumber, timeout = 500) {
1987
1992
  if (!this.inHelp) {
@@ -1992,10 +1997,11 @@ export default {
1992
1997
  }
1993
1998
  },
1994
1999
  /**
1995
- * @vuese
2000
+ * @public
1996
2001
  * Function to display tooltip
1997
2002
  * by providing featureId (``feature``).
1998
- * @arg feature
2003
+ * @arg {String} `feature`
2004
+ * @arg {String} `geometry` _(default: `undefined`)_
1999
2005
  */
2000
2006
  displayTooltip: function (feature, geometry = undefined) {
2001
2007
  let featureId = undefined
@@ -2096,7 +2102,7 @@ export default {
2096
2102
  }
2097
2103
  },
2098
2104
  /**
2099
- * @vuese
2105
+ * @public
2100
2106
  * Function to open Flatmap Help Popup.
2101
2107
  */
2102
2108
  openFlatmapHelpPopup: function () {
@@ -2116,7 +2122,7 @@ export default {
2116
2122
  }
2117
2123
  },
2118
2124
  /**
2119
- * @vuese
2125
+ * @public
2120
2126
  * Function to close Flatmap Help Popup.
2121
2127
  */
2122
2128
  closeFlatmapHelpPopup: function () {
@@ -2127,7 +2133,7 @@ export default {
2127
2133
  })
2128
2134
  },
2129
2135
  /**
2130
- * @vuese
2136
+ * @public
2131
2137
  * Function to get annotation labels.
2132
2138
  */
2133
2139
  getLabels: function () {
@@ -2141,7 +2147,7 @@ export default {
2141
2147
  }
2142
2148
  },
2143
2149
  /**
2144
- * @vuese
2150
+ * @public
2145
2151
  * Function to get the state (object) of the map.
2146
2152
  */
2147
2153
  getState: function () {
@@ -2160,9 +2166,9 @@ export default {
2160
2166
  return undefined
2161
2167
  },
2162
2168
  /**
2163
- * @vuese
2169
+ * @public
2164
2170
  * Function to set state (object) for the map.
2165
- * @arg state
2171
+ * @arg {Object} `state`
2166
2172
  */
2167
2173
  setState: function (state) {
2168
2174
  if (state) {
@@ -2182,10 +2188,10 @@ export default {
2182
2188
  }
2183
2189
  },
2184
2190
  /**
2185
- * @vuese
2191
+ * @public
2186
2192
  * Function to restore map's state
2187
2193
  * from the ``state`` provided.
2188
- * @arg state
2194
+ * @arg {Object} `state`
2189
2195
  */
2190
2196
  restoreMapState: function (state) {
2191
2197
  if (state) {
@@ -2194,11 +2200,11 @@ export default {
2194
2200
  }
2195
2201
  },
2196
2202
  /**
2197
- * @vuese
2203
+ * @public
2198
2204
  * Function to show flight path option
2199
2205
  * (3D option)
2200
2206
  * based on the map version (currently 1.6 and above).
2201
- * @arg mapVersion
2207
+ * @arg {String} `mapVersion`
2202
2208
  */
2203
2209
  setFlightPathInfo: function (mapVersion) {
2204
2210
  const mapVersionForFlightPath = 1.6
@@ -2210,10 +2216,10 @@ export default {
2210
2216
  }
2211
2217
  },
2212
2218
  /**
2213
- * @vuese
2219
+ * @public
2214
2220
  * Function to create Flatmap
2215
2221
  * by providing the ``state``.
2216
- * @arg state
2222
+ * @arg {Object} `state`
2217
2223
  */
2218
2224
  createFlatmap: function (state) {
2219
2225
  if (!this.mapImp && !this.loading) {
@@ -2299,7 +2305,7 @@ export default {
2299
2305
  }
2300
2306
  },
2301
2307
  /**
2302
- * @vuese
2308
+ * @public
2303
2309
  * Function to compute path controls maximum height.
2304
2310
  */
2305
2311
  computePathControlsMaximumHeight() {
@@ -2313,7 +2319,7 @@ export default {
2313
2319
  }
2314
2320
  },
2315
2321
  /**
2316
- * @vuese
2322
+ * @public
2317
2323
  * Function to resize the map.
2318
2324
  */
2319
2325
  mapResize: function () {
@@ -2331,7 +2337,7 @@ export default {
2331
2337
  }
2332
2338
  },
2333
2339
  /**
2334
- * @vuese
2340
+ * @public
2335
2341
  * This function is used for functions that need to run immediately after the flatmap is loaded.
2336
2342
  */
2337
2343
  onFlatmapReady: function () {
@@ -2367,7 +2373,7 @@ export default {
2367
2373
  this.$emit('ready', this)
2368
2374
  },
2369
2375
  /**
2370
- * @vuese
2376
+ * @public
2371
2377
  * Function to handle mouse click on map area
2372
2378
  * after the map is loaded.
2373
2379
  */
@@ -2383,29 +2389,29 @@ export default {
2383
2389
  }
2384
2390
  },
2385
2391
  /**
2386
- * @vuese
2392
+ * @public
2387
2393
  * Function to show or hide the minimap
2388
2394
  * by providing ``flag`` (boolean) value.
2389
- * @arg flag
2395
+ * @arg {Boolean} `flag`
2390
2396
  */
2391
2397
  showMinimap: function (flag) {
2392
2398
  if (this.mapImp) this.mapImp.showMinimap(flag)
2393
2399
  },
2394
2400
  /**
2395
- * @vuese
2401
+ * @public
2396
2402
  * Function to show or hide the pathways drawer
2397
2403
  * by providing ``flag`` (boolean) value.
2398
- * @arg flag
2404
+ * @arg {Boolean} `flag`
2399
2405
  */
2400
2406
  showPathwaysDrawer: function (flag) {
2401
2407
  this.drawerOpen = flag
2402
2408
  },
2403
2409
  /**
2404
- * @vuese
2410
+ * @public
2405
2411
  * Function to display features with annotation matching the provided term,
2406
2412
  * with the option to display the label using displayLabel flag.
2407
- * @arg term,
2408
- * @arg displayLabel
2413
+ * @arg {String} `term`,
2414
+ * @arg {String} `displayLabel`
2409
2415
  */
2410
2416
  searchAndShowResult: function (term, displayLabel) {
2411
2417
  if (this.mapImp) {
@@ -2445,10 +2451,10 @@ export default {
2445
2451
  return false
2446
2452
  },
2447
2453
  /**
2448
- * @vuese
2454
+ * @public
2449
2455
  * Function to show search suggestions
2450
2456
  * from the ``term`` provided.
2451
- * @arg term
2457
+ * @arg {String} `term`
2452
2458
  */
2453
2459
  searchSuggestions: function (term) {
2454
2460
  if (this.mapImp) return this.mapImp.search(term)