getCollectionAt method

MarkerCollection getCollectionAt(
  1. int index
)

Retrieve the MarkerCollection at index.

Parameters

  • index: Zero-based index of the collection to retrieve.

Returns

Implementation

MarkerCollection getCollectionAt(final int index) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'MapViewMarkerCollections',
    'getCollectionAt',
    args: index,
    dependencyId: _mapPointerId,
  );

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