This commit is contained in:
wangcongtao
2020-02-20 11:35:45 +08:00
parent 948918a31f
commit 84434e5e2f
3 changed files with 4 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ android {
minifyEnabled false
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField 'int', 'NET_ENV', '3'
buildConfigField 'int', 'NET_ENV', '2'
}
}
compileOptions {

View File

@@ -429,6 +429,7 @@ public class AMapNaviViewWrapper implements IMogoMapView,
style.anchor(0.5F,0.5F);
style.strokeColor(Color.TRANSPARENT);
style.strokeWidth(0);
style.radiusFillColor( Color.TRANSPARENT );
style.myLocationIcon(
BitmapDescriptorFactory.fromResource(R.drawable.map_api_ic_current_location));
mMapView.getMap().setMyLocationStyle(style);

View File

@@ -130,7 +130,8 @@ public class EntranceFragment extends MvpFragment< EntranceView, EntrancePresent
if ( location != null ) {
mMogoStatusManager.setUserInteractionStatus( TAG, true, false );
mMApUIController.changeZoom( 16.0f );
mMApUIController.moveToCenter( new MogoLatLng( location.getLatitude(), location.getLongitude() ) );
mMApUIController.recoverLockMode();
// mMApUIController.moveToCenter( new MogoLatLng( location.getLatitude(), location.getLongitude() ) );
}
} );