Kiểu bản đồ mới sắp xuất hiện trên Nền tảng Google Maps. Bản cập nhật này để tạo kiểu bản đồ bao gồm một bảng màu mặc định mới và các cải tiến về trải nghiệm bản đồ cũng như khả năng hữu dụng. Tất cả kiểu bản đồ sẽ được cập nhật tự động vào tháng 3 năm 2025. Để biết thêm thông tin về phạm vi cung cấp và cách chọn tham gia sớm hơn, hãy xem bài viết Kiểu bản đồ mới cho Nền tảng Google Maps.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
giao diện tĩnh công khai
GoogleMap.OnMapLoadedCallback
Giao diện gọi lại khi bản đồ đã kết xuất xong. Điều này xảy ra sau khi hệ thống đã tìm nạp tất cả các thẻ thông tin cần thiết để hiển thị bản đồ và hoàn tất mọi hoạt động gắn nhãn. Sự kiện này sẽ không kích hoạt nếu bản đồ không tải do vấn đề về kết nối, hoặc nếu bản đồ liên tục thay đổi và không bao giờ hoàn tất việc tải do người dùng liên tục tương tác với bản đồ.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-03-13 UTC."],[[["`GoogleMap.OnMapLoadedCallback` is an interface used to trigger actions after a Google Map has completely rendered within an Android application."],["The `onMapLoaded()` method is called once when the map has finished rendering, signifying all tiles and labels are loaded, and runs on the Android UI thread."],["This callback will not trigger if the map fails to load due to connection issues or if continuous user interaction prevents the map from fully loading."]]],["The `GoogleMap.OnMapLoadedCallback` interface provides a mechanism to be notified when a map has finished rendering. The `onMapLoaded()` method, the sole method within this interface, is invoked once the map has completed the rendering process, including fetching tiles and labeling. This method is called on the Android UI thread. If the user needs to be notified again, they must explicitly request another callback, as this only fires once. The callback won't be triggered if loading is interrupted.\n"]]