| | |
| | | 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); |
| | | |
| | | |
| | | |
| | |
| | | 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); |
| | | |
| | | } |
| | | } |
| | |
| | | // 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); |