Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
蒋波涛
/
landsurvey
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b6023205
authored
2018-03-26 23:21:44 +0800
by
chiangbt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update 3.26
1 parent
315122b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/src/main/java/com/pashanhoo/landsurvey/MainActivity.java
app/src/main/java/com/pashanhoo/landsurvey/MainActivity.java
View file @
b602320
...
...
@@ -103,7 +103,7 @@ public class MainActivity extends AppCompatActivity {
mapView
.
addLayer
(
t_vec
);
t_cva
=
new
TianDiTuTiledMapServiceLayer
(
TianDiTuTiledMapServiceType
.
CVA_C
);
mapView
.
addLayer
(
t_cva
);
// 一个本地sqlite数据库,注意其只有8-9级数据,因此在数据层中予以了显示控制
t_local
=
new
TianDiTuLocalTiledMapServiceLayer
(
"my.db"
,
"IMG_C"
);
mapView
.
addLayer
(
t_local
);
...
...
@@ -115,7 +115,7 @@ public class MainActivity extends AppCompatActivity {
mapView
.
addLayer
(
t_cia
);
mapType
=
"VEC"
;
mapView
.
setMaxResolution
(
TDTTileinfo
.
getRes4490
()[
0
]);
mapView
.
setMaxResolution
(
TDTTileinfo
.
getRes4490
()[
1
]);
mapView
.
setMinResolution
(
TDTTileinfo
.
getRes4490
()[
18
]);
mapView
.
setOnStatusChangedListener
(
new
OnStatusChangedListener
()
{
...
...
Please
register
or
sign in
to post a comment