getPointsGroupHead method
- int markerId
Gets the points group head for the given marker id.
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 reference to the queried marker and will set the API error accordingly
If markerId is already a points group head the function will return a reference to the queried marker and will set the API error accordingly
Parameters
- IN markerId The marker id belonging to the points group.
Returns
- Points group head marker
Implementation
Marker? getPointsGroupHead(final int markerId) {
final OperationResult resultString = objectMethod(
_pointerId,
'MarkerCollection',
'getPointsGroupHead',
args: markerId,
);
if (resultString['result'] == -1) {
return null;
}
return Marker.init(resultString['result']);
}