enableSocialReportsWithCategory static method
- 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
- GemError.success: Category enabled successfully.
- GemError.notFound: Overlay or category not found.
Implementation
static GemError enableSocialReportsWithCategory(int categoryId) {
return OverlayService.enableOverlay(
CommonOverlayId.socialReports.id,
categUid: categoryId,
);
}