onMapDataReady

var onMapDataReady: (isReady: Boolean) -> Unit

Deprecated

This notification will be removed in future releases.

Notifies that the map data is up to date and ready to be used. The notification will be triggered after the SDK checks the map data state and also after the map data update process (if needed). It requires Internet connection

Parameters

isReady

true if the map data is up to date, false if the map data is not up to date (by default the SDK is trying to update it) Note. The notification will not be triggered if the SDK runs offline, and it will be triggered with "false" if the SDK rund online but the map version is not up to date. By default, we provide online support (routing / traffic / search) for latest two map versions, and the map update process is not mandatory (to prevent SDK to automatically perform map update please call "SdkSettings.setAllowAutoMapUpdate(false) at app startup") The notification was designed to be used internally in our examples, otherwise we do not recommend to use it in your app code. Please use "SdkSettings.onWorldwideRoadMapSupportStatus" notification to check the map data state, SdkSettings.onWorldwideRoadMapVersionUpdated() to be notified about map version updates, GemSurfaceView.onDefaultMapViewCreated() to be notified when the map view is created and "SdkSettings.SdkSettings.onConnectionStatusUpdated()" to be notified when the app runs online.