1.map页和直播适配百度地图

2.历史轨迹适配百度地图
This commit is contained in:
2026-08-14 11:19:38 +08:00
parent 0692d1e08b
commit 567088bb87
16 changed files with 656 additions and 228 deletions

View File

@@ -96,6 +96,7 @@ annotation class MMKVKey {
//手机Gps定位信息
const val UserGpsLat = "userGpsLat"
const val UserGpsLon = "userGpsLon"
//单位是米/秒(m/s)
const val UserGpsSpeed = "userGpsSpeed"
//地图模式类型

View File

@@ -94,7 +94,7 @@ class AppUtils {
* 是否是国内
*/
fun isChina(type: String = SWITCH_PAGE_TYPE): Boolean {
return false
return true
if (isDebug()) {
if (type == SWITCH_MAP_TYPE && MMKVUtil.getBoolean(MMKVKey.OnlyGoogleMap, false)) {
//只启用谷歌地图