enableSocialReportsWithCategory static method

GemError enableSocialReportsWithCategory(
  1. int categoryId
)

Enables the social reports overlay for a specific category.

Requires the safety camera overlay to be available in the current map style. Also needs a GemMap to be active for proper functioning.

Parameters

  • categoryId: The overlay category identifier.

Returns

Implementation

static GemError enableSocialReportsWithCategory(int categoryId) {
  return OverlayService.enableOverlay(
    CommonOverlayId.socialReports.id,
    categUid: categoryId,
  );
}