Google 地圖平台即將推出新版地圖樣式。新版地圖樣式內建全新的預設調色盤,並且提升地圖體驗、改善服務的可用性。所有地圖樣式都將於 2025 年 3 月自動更新。請參閱「
Google 地圖平台新版地圖樣式」一文,進一步瞭解適用範圍及如何提早啟用。
強化無障礙功能
Maps SDK for Android 原生支援無障礙功能。本節概略介紹使用 API 時,應用程式將會自動啟用的無障礙功能。
使用者在行動裝置上啟用 TalkBack 無障礙功能後,手指每在畫面上滑動一下,即可將焦點移到另一個 UI 元素 (除了單次滑動,也可用手指在介面上拖曳,查看其他 UI 元素)。UI 元素成為焦點時,TalkBack 就會讀出該元素的名稱。如果使用者在畫面上的任何位置輕觸兩下,系統就會根據焦點所在位置執行對應動作。
如要進一步瞭解如何強化 Android 應用程式的無障礙功能,請參閱 Android 無障礙功能說明文件。此外,我們也建議加上地圖公告說明。如要指定公告文字,請在檢視畫面中呼叫 setContentDescription()
。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-06-28 (世界標準時間)。
[null,null,["上次更新時間:2024-06-28 (世界標準時間)。"],[[["The Maps SDK for Android has built-in accessibility features automatically enabled for applications using the API."],["TalkBack allows users to navigate the map interface by swiping or dragging a finger, announcing UI elements as they come into focus, and performing actions with a double-tap."],["Developers should consider adding a map description announcement using `setContentDescription()` for improved accessibility."],["Further accessibility guidance can be found in the Android accessibility documentation."]]],["The Maps SDK for Android offers built-in accessibility features. When TalkBack is enabled, single swipes or dragging moves focus between UI elements, with TalkBack announcing the focused element's name. A double-tap performs the action associated with the focused element. Developers can enhance accessibility by adding a map description via `setContentDescription()`, as per the Android accessibility documentation.\n"]]