[6.0.0] fix jira bug
This commit is contained in:
@@ -161,10 +161,6 @@ public class AMapViewWrapper implements IMogoMapView,
|
||||
}
|
||||
|
||||
private void initListeners() {
|
||||
MapAutoViewHelper options = mMapView.getMapAutoViewHelper();
|
||||
if (options != null) {
|
||||
options.setScaleVRMode(true);
|
||||
}
|
||||
mMapView.setOnMarkClickListener(this);
|
||||
mMapView.setOnMapLoadedListener(this);
|
||||
mMapView.setOnMapTouchListener(this);
|
||||
@@ -724,6 +720,12 @@ public class AMapViewWrapper implements IMogoMapView,
|
||||
public void onMapLoaded() {
|
||||
CallerLogger.i(M_MAP + TAG, "autoop--onMapLoaded: ");
|
||||
if (checkAMapView()) {
|
||||
MapAutoViewHelper options = mMapView.getMapAutoViewHelper();
|
||||
if (options != null) {
|
||||
options.setScaleVRMode(true);
|
||||
}else{
|
||||
CallerLogger.i(M_MAP + TAG, "autoop--getMapAutoViewHelper is null");
|
||||
}
|
||||
CameraPosition cameraPosition = mMapView.getMapAutoViewHelper().getCameraPosition();
|
||||
MogoMapListenerHandler.Companion.getMogoMapListenerHandler().onMapChanged(ObjectUtils.fromAMap(cameraPosition.getTarget()),
|
||||
cameraPosition.getZoom(),
|
||||
|
||||
Reference in New Issue
Block a user