GoogleMap.OnMyLocationChangeListener
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
這個介面已淘汰。
請改用 com.google.android.gms.location.FusedLocationProviderApi。FusedLocationProviderApi 提供更完善的定位尋找功能和用電量,供「我的位置」藍點使用。請參閱「選取目前的地點」教學課程 (使用 FusedLocationProviderApi 或位置開發人員指南)。
「我的位置」點/箭號 (代表使用者的位置) 變更位置的回呼介面。
公用方法
公開抽象抽象
onMyLocationChange
(位置)
在「我的位置」點的位置有所改變時,會呼叫這個位置 (緯度/經度、方位或精確度)。
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 2023-01-25 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]