isSocialReportsEnabled property

bool get isSocialReportsEnabled

Checks whether the social reports overlay is enabled.

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

Returns

  • bool: true if the overlay is enabled, otherwise false.

Implementation

static bool get isSocialReportsEnabled {
  return OverlayService.isOverlayEnabled(CommonOverlayId.socialReports.id);
}