getPointsGroupComponents method

List<Marker> getPointsGroupComponents(
  1. int groupId
)

Gets the points group components.

This requires the collection to be added to a map view collection with MarkerCollectionRenderSettings.buildPointsGroupConfig set to true

If points group head info is not available the function will return a default list and will set the API error accordingly

Parameters

Returns

  • Points group components list if the groupId is valid, empty list otherwise. The list does not contain the group head marker.

Implementation

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

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