b6023205 by chiangbt

update 3.26

1 parent 315122b8
...@@ -103,7 +103,7 @@ public class MainActivity extends AppCompatActivity { ...@@ -103,7 +103,7 @@ public class MainActivity extends AppCompatActivity {
103 mapView.addLayer(t_vec); 103 mapView.addLayer(t_vec);
104 t_cva = new TianDiTuTiledMapServiceLayer(TianDiTuTiledMapServiceType.CVA_C); 104 t_cva = new TianDiTuTiledMapServiceLayer(TianDiTuTiledMapServiceType.CVA_C);
105 mapView.addLayer(t_cva); 105 mapView.addLayer(t_cva);
106 106 // 一个本地sqlite数据库,注意其只有8-9级数据,因此在数据层中予以了显示控制
107 t_local = new TianDiTuLocalTiledMapServiceLayer("my.db", "IMG_C"); 107 t_local = new TianDiTuLocalTiledMapServiceLayer("my.db", "IMG_C");
108 mapView.addLayer(t_local); 108 mapView.addLayer(t_local);
109 109
...@@ -115,7 +115,7 @@ public class MainActivity extends AppCompatActivity { ...@@ -115,7 +115,7 @@ public class MainActivity extends AppCompatActivity {
115 mapView.addLayer(t_cia); 115 mapView.addLayer(t_cia);
116 mapType = "VEC"; 116 mapType = "VEC";
117 117
118 mapView.setMaxResolution(TDTTileinfo.getRes4490()[0]); 118 mapView.setMaxResolution(TDTTileinfo.getRes4490()[1]);
119 mapView.setMinResolution(TDTTileinfo.getRes4490()[18]); 119 mapView.setMinResolution(TDTTileinfo.getRes4490()[18]);
120 120
121 mapView.setOnStatusChangedListener(new OnStatusChangedListener() { 121 mapView.setOnStatusChangedListener(new OnStatusChangedListener() {
......