getPointsGroupComponents method
- 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
- IN groupId The group id. It needs to be the marker id returned by MarkerCollection.getPointsGroupHead method
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();
}