From 95b1eabebe92ebc69f506f3599a5090604e440bb Mon Sep 17 00:00:00 2001 From: Admin <Dana_Lee1016@126.com> Date: 星期一, 15 三月 2021 15:17:29 +0800 Subject: [PATCH] 驾考添加日志打印到文件; TrainFragment默认给arcgis url赋值,后面arcgis map用到的url的是mmpk文件 --- app/src/main/java/safeluck/drive/evaluation/fragment/ArcGisMapFragment.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/safeluck/drive/evaluation/fragment/ArcGisMapFragment.java b/app/src/main/java/safeluck/drive/evaluation/fragment/ArcGisMapFragment.java index 0345799..f34ff80 100644 --- a/app/src/main/java/safeluck/drive/evaluation/fragment/ArcGisMapFragment.java +++ b/app/src/main/java/safeluck/drive/evaluation/fragment/ArcGisMapFragment.java @@ -124,7 +124,7 @@ if (examStatus.getEnter()==ENTER){ double scale = mMapView.getMapScale(); MyLog.i(TAG,String.format("杩涘叆[%d] map,scale=%f",examStatus.getMap_id(),scale)); - mMapView.setViewpointScaleAsync(scale * 0.2); + mMapView.setViewpointScaleAsync(scale * 0.5*0.5); @@ -132,7 +132,7 @@ double scale = mMapView.getMapScale(); MyLog.i(TAG,String.format("閫�鍑篬%d] map,scale=%f",examStatus.getMap_id(),scale)); - mMapView.setViewpointScaleAsync(scale * 5); + mMapView.setViewpointScaleAsync(scale * 2); } } @@ -733,7 +733,7 @@ // create an empty map instance ArcGISMap map = new ArcGISMap(); Log.i(TAG,String.format("map.getMiniScale=%f",map.getMinScale())); - map.setMinScale(400.0); + map.setMinScale(300.0); // add map image layer as operational layer map.getOperationalLayers().add(mapImageLayer); mMapView.setMap(map); -- Gitblit v1.8.0