【发布时间】:2019-05-13 05:23:51
【问题描述】:
我正在构建一个 android 应用程序来跟踪多个设备的位置。我使用该应用程序将设备的经度和纬度保存到 Firebase,但我不知道如何从 Firebase 检索经度和纬度并将它们显示为 Google 地图中的标记。
【问题讨论】:
-
欢迎来到SO,请参考stackoverflow.com/help/how-to-ask
-
如何保存纬度和经度?它们可能只保存了 2 个双精度值。所以你需要将它们作为 2 个双精度值来获取。
标签: android firebase firebase-realtime-database google-maps-api-3 google-maps-markers