feat(map): updage baidu map sdk

This commit is contained in:
ZCShou 2023-02-18 12:33:17 +08:00
parent 8d91aa8206
commit b6d2989b36
No known key found for this signature in database
GPG Key ID: 40F856243C184EAB
7 changed files with 4 additions and 3 deletions

View File

@ -15,8 +15,8 @@ android {
keyPassword 'GoGoGo'
}
}
ndkVersion '25.1.8937393'
buildToolsVersion '33.0.0'
ndkVersion '25.2.9519653'
buildToolsVersion '33.0.2'
compileSdkVersion 32
defaultConfig {
applicationId "com.zcshou.gogogo"

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -797,7 +797,8 @@ public class MainActivity extends BaseActivity implements SensorEventListener {
//可选默认false设置是否收集CRASH信息默认收集
locationOption.SetIgnoreCacheException(true);
//可选默认false设置是否开启Gps定位
locationOption.setOpenGps(true);
//locationOption.setOpenGps(true);
locationOption.setOpenGnss(true);
//可选默认false设置定位时是否需要海拔信息默认不需要除基础定位版本都可用
locationOption.setIsNeedAltitude(false);
//需将配置好的LocationClientOption对象通过setLocOption方法传递给LocationClient对象使用