GoogleMap.OnMapLoadedCallback
Stay organized with collections
Save and categorize content based on your preferences.
Callback interface for when the map has finished rendering. This occurs after all tiles
required to render the map have been fetched, and all labeling is complete. This event will
not fire if the map never loads due to connectivity issues, or if the map is continuously
changing and never completes loading due to the user constantly interacting with the map.
Public Method Summary
abstract void |
onMapLoaded()
Called when the map has finished rendering.
|
Public Methods
public abstract void onMapLoaded ()
Called when the map has finished rendering. This will only be called once. You must
request another callback if you want to be notified again.
This is called on the Android UI thread.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`GoogleMap.OnMapLoadedCallback` is an interface used to receive a notification when a GoogleMap has finished rendering completely."],["The `onMapLoaded()` method within this interface is called once when the map is fully loaded, signaling the completion of tile fetching and labeling."],["This callback is triggered on the Android UI thread and won't fire if the map fails to load due to network problems or continuous user interaction."],["Developers need to request a new callback using this interface if they wish to be notified about map loading completion again in the future."]]],["The `GoogleMap.OnMapLoadedCallback` interface provides a mechanism to be notified when a map has finished rendering. The core action is the `onMapLoaded()` method, which is called after all map tiles are fetched and labeling is complete. This callback is triggered only once per successful map load and operates on the Android UI thread. The event won't fire if the map fails to load or is constantly changing due to user interaction.\n"]]