getPointsGroupComponents method

List<Marker> getPointsGroupComponents(
  1. int id
)

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

  • IN id The group id.

Returns

  • Points group components list

Throws

  • An exception if it fails.

Implementation

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

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