getLandmarkCount method

int getLandmarkCount({
  1. int categoryId = LandmarkStore.invalidLandmarkCategId,
})

Get the number of all landmarks within the specified category.

If the category ID is uncategorizedLandmarkCategId, the uncategorized landmarks count is returned.

If the category ID is invalidLandmarkCategId, the total landmarks count is returned.

Parameters

  • IN categoryId The category ID

Returns

  • The number of landmarks

Implementation

int getLandmarkCount(
    {int categoryId = LandmarkStore.invalidLandmarkCategId}) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'LandmarkStore',
    'getLandmarkCount',
    args: categoryId,
  );

  return resultString['result'];
}