isSafetyCameraEnabled property
bool
get
isSafetyCameraEnabled
Checks whether the safety camera 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:trueif the overlay is enabled, otherwisefalse.
Implementation
static bool get isSafetyCameraEnabled {
return OverlayService.isOverlayEnabled(CommonOverlayId.safety.id);
}