indexOf method
- MarkerCollection col
Return the index of col inside the map view collections.
Parameters
col: The MarkerCollection to search for.
Returns
- The collection index on success, or a GemError code (e.g. GemError.notFound.code) on error.
Implementation
int indexOf(final MarkerCollection col) {
final OperationResult resultString = objectMethod(
pointerId,
'MapViewMarkerCollections',
'indexOf',
args: col.pointerId,
dependencyId: _mapPointerId,
);
return resultString['result'];
}