Assigned
Status Update
Comments
iv...@google.com <iv...@google.com> #2
i am using these dependencies for the map
// Maps SDK for Android KTX Library implementation 'com.google.maps.android:maps-ktx:3.0.0'
// Maps SDK for Android Utility Library KTX Library
implementation 'com.google.maps.android:maps-utils-ktx:3.0.0'
implementation 'com.google.android.gms:play-services-base:18.5.0' implementation 'com.google.android.gms:play-services-basement:18.5.0' implementation 'com.google.android.gms:play-services-maps:19.0.0'
and also getting some map sdk error as well dab File created: google_maps_sdk_crash dab File created: _google_maps_sdk_crash_count_1 dab Couldn't create marker: google_maps_sdk_crash dab File created: _google_maps_sdk_crash_count_2 dab Marker deleted: _google_maps_sdk_crash_count_1
Description
Feature Request
What would you like to see us add to this API?
MapView.getMapAsync(OnMapReadyCallback, Looper): an alternative API to receive the callback on a non-UI looper.
Explain your use case for that feature:
The current fixation on a UI looper callback requires app code to be able to pause before being able to use the GoogleMap. This is not always possible to do at the desired time. With the alternative API, app code could utilize the GoogleMap without pausing, for example by populating a volatile field from the callback.
This would help with initialization delays in the android-maps-compose GitHub project: there is no opportunity to pause in the middle of composition to process a callback.
Full explanation here: https://issuetracker.google.com/issues/340494390