getPointsGroupComponents method

List<Marker> getPointsGroupComponents(
  1. int groupId
)

Return the components (members) of a points group identified by groupId.

The collection must be configured with points group info available on the map (see MarkerCollectionRenderSettings.buildPointsGroupConfig). The returned list does not include the group head marker.

Parameters

Returns

  • A List<Marker> containing the group members, or an empty list if none are found.

See also:

Implementation

List<Marker> getPointsGroupComponents(final int groupId) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'MarkerCollection',
    'getPointsGroupComponents',
    args: groupId,
  );

  return MarkerList.init(resultString['result']).toList();
}