getPointsGroupComponents method
- 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
groupId: The id of the points group (usually the id returned by getPointsGroupHead).
Returns
- A List<Marker> containing the group members, or an empty list if none are found.
See also:
- getPointsGroupHead to retrieve the head marker of a points group.
Implementation
List<Marker> getPointsGroupComponents(final int groupId) {
final OperationResult resultString = objectMethod(
pointerId,
'MarkerCollection',
'getPointsGroupComponents',
args: groupId,
);
return MarkerList.init(resultString['result']).toList();
}