Skip to content

Commit

Permalink
feat(map): updage baidu map sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
ZCShou committed Feb 18, 2023
1 parent 8d91aa8 commit b6d2989
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Binary file modified app/libs/BaiduLBS_Android.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/libs/arm64-v8a/liblocSDK8b.so
Binary file not shown.
Binary file added app/libs/arm64-v8a/libtiny_magic.so
Binary file not shown.
3 changes: 2 additions & 1 deletion app/src/main/java/com/zcshou/gogogo/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,8 @@ public void onLocDiagnosticMessage(int locType, int diagnosticType, String diagn
//可选,默认false,设置是否收集CRASH信息,默认收集
locationOption.SetIgnoreCacheException(true);
//可选,默认false,设置是否开启Gps定位
locationOption.setOpenGps(true);
//locationOption.setOpenGps(true);
locationOption.setOpenGnss(true);
//可选,默认false,设置定位时是否需要海拔信息,默认不需要,除基础定位版本都可用
locationOption.setIsNeedAltitude(false);
//需将配置好的LocationClientOption对象,通过setLocOption方法传递给LocationClient对象使用
Expand Down

0 comments on commit b6d2989

Please sign in to comment.