หากไม่ได้ติดตั้งบริการ Google Play ในอุปกรณ์ ผู้ใช้จะได้รับแจ้งให้ติดตั้ง โดยจะทริกเกอร์เมธอด onMapReady(GoogleMap) เมื่อผู้ใช้ติดตั้งและกลับไปยังแอปเท่านั้น
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-09-05 UTC"],[[["`OnMapReadyCallback` is triggered when the Google Map is fully loaded and ready for interaction within a `MapFragment` or `MapView`."],["It provides a non-null `GoogleMap` object in the `onMapReady` method, enabling developers to manipulate the map."],["If Google Play services is not available, users are prompted to install it before the callback is triggered."],["The map's layout and dimensions might not be immediately available in `onMapReady`, requiring the use of `ViewTreeObserver.OnGlobalLayoutListener` for size-dependent operations."],["Avoid chaining `OnMapReadyCallback` and `OnGlobalLayoutListener`, handle them independently to prevent race conditions and potential `IllegalStateException`."]]],[]]