| | |
| | | import android.view.SurfaceView; |
| | | import android.view.View; |
| | | import android.view.ViewGroup; |
| | | import android.widget.LinearLayout; |
| | | import android.widget.Toast; |
| | | |
| | | import androidx.annotation.NonNull; |
| | |
| | | import org.json.JSONException; |
| | | import org.json.JSONObject; |
| | | |
| | | import java.io.IOException; |
| | | import java.io.InputStream; |
| | | import java.lang.reflect.Type; |
| | | import java.math.BigDecimal; |
| | |
| | | import safeluck.drive.evaluation.bean.RoadExamMap2; |
| | | import safeluck.drive.evaluation.cEventCenter.CEventCenter; |
| | | import safeluck.drive.evaluation.cEventCenter.ICEventListener; |
| | | import safeluck.drive.evaluation.util.CThreadPoolExecutor; |
| | | import safeluck.drive.evaluation.util.FileUtil; |
| | | import safeluck.drive.evaluation.util.Utils; |
| | | |
| | |
| | | break; |
| | | case R.id.btn_change_map: |
| | | MapInfoHead mapInfoHead = ExamPlatformData.getInstance().getMapInfoHeads().get(BaseDataUIBean.TYPE_.road); |
| | | String url = mapInfoHead.getGps_moinitor_url(); |
| | | String url = mapInfoHead.getArcgis_url(); |
| | | Log.i(TAG,"map head lulao gps url="+url); |
| | | VPFragment jiaXiaoFragment = findFragment(VPFragment.class); |
| | | ArcGisMapFragment jiaXiaoFragment = findFragment(ArcGisMapFragment.class); |
| | | if (jiaXiaoFragment == null) { |
| | | jiaXiaoFragment = (VPFragment) VPFragment.newInstance(url); |
| | | jiaXiaoFragment = (ArcGisMapFragment) ArcGisMapFragment.newInstance(url); |
| | | } |
| | | start(jiaXiaoFragment); |
| | | startWithPop(jiaXiaoFragment); |
| | | break; |
| | | } |
| | | } |