enableSafetyCamera static method
Enables the safety camera overlay for display and alarm monitoring.
Requires the safety camera overlay to be available in the current map style. Also needs a GemMap to be active for proper functioning.
Returns
- GemError.success: Overlay enabled successfully.
- GemError.notFound: Overlay not found in the current map style.
Implementation
static GemError enableSafetyCamera() {
return OverlayService.enableOverlay(CommonOverlayId.safety.id);
}