update 3.26
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -79,6 +79,8 @@ public class MainActivity extends AppCompatActivity { | ... | @@ -79,6 +79,8 @@ public class MainActivity extends AppCompatActivity { |
79 | public void onClick(View view) { | 79 | public void onClick(View view) { |
80 | locationDisplayManager.stop(); | 80 | locationDisplayManager.stop(); |
81 | mapView.zoomToResolution(AppInfo.initPoint, AppInfo.initRes); | 81 | mapView.zoomToResolution(AppInfo.initPoint, AppInfo.initRes); |
82 | curLevel = TDTTileinfo.getCurrentLevel(AppInfo.initRes); | ||
83 | mapinfoView.setText("当前地图级别为:"+ String.valueOf(curLevel)); | ||
82 | } | 84 | } |
83 | }); | 85 | }); |
84 | FloatingActionButton gps = (FloatingActionButton) findViewById(R.id.gps); | 86 | FloatingActionButton gps = (FloatingActionButton) findViewById(R.id.gps); | ... | ... |
-
Please register or sign in to post a comment