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
1893f972
authored
2018-04-04 10:12:54 +0800
by
chiangbt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新说明信息
1 parent
fbe7e63b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
6 deletions
.idea/misc.xml
app/src/main/java/com/pashanhoo/landsurvey/layers/tianditu/TianDiTuTiledMapServiceLayer.java
app/src/main/res/layout/content_main.xml
app/src/main/res/values/colors.xml
.idea/misc.xml
View file @
1893f97
...
...
@@ -24,7 +24,7 @@
</value>
</option>
</component>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
7
"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
8
"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
...
...
app/src/main/java/com/pashanhoo/landsurvey/layers/tianditu/TianDiTuTiledMapServiceLayer.java
View file @
1893f97
...
...
@@ -107,7 +107,6 @@ public class TianDiTuTiledMapServiceLayer extends TiledServiceLayer {
}
final
TianDiTuTiledMapServiceLayer
a
;
{
a
=
TianDiTuTiledMapServiceLayer
.
this
;
//super();
...
...
@@ -131,7 +130,6 @@ public class TianDiTuTiledMapServiceLayer extends TiledServiceLayer {
this
.
setTileInfo
(
this
.
tiandituTileInfo
);
this
.
setFullExtent
(
new
Envelope
(-
180
,
-
90
,
180
,
90
));
this
.
setDefaultSpatialReference
(
SpatialReference
.
create
(
4490
));
//CGCS2000
//this.setDefaultSpatialReference(SpatialReference.create(4326));
this
.
setInitialExtent
(
new
Envelope
(
90.52
,
33.76
,
113.59
,
42.88
));
super
.
initLayer
();
}
...
...
@@ -152,7 +150,6 @@ public class TianDiTuTiledMapServiceLayer extends TiledServiceLayer {
}
final
TianDiTuTiledMapServiceLayer
a
;
{
a
=
TianDiTuTiledMapServiceLayer
.
this
;
//super();
...
...
@@ -235,7 +232,6 @@ public class TianDiTuTiledMapServiceLayer extends TiledServiceLayer {
default
:
return
null
;
}
Log
.
i
(
"map"
,
url
.
toString
());
try
{
// 首先从离线数据库中读取
result
=
getOfflineCacheDB
(
level
,
col
,
row
);
...
...
app/src/main/res/layout/content_main.xml
View file @
1893f97
...
...
@@ -17,7 +17,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/epsg_target"
android:tint=
"@color/color
Accent
"
android:tint=
"@color/color
Red
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
...
...
app/src/main/res/values/colors.xml
View file @
1893f97
...
...
@@ -3,6 +3,7 @@
<color
name=
"colorPrimary"
>
#3F51B5
</color>
<color
name=
"colorPrimaryDark"
>
#303F9F
</color>
<color
name=
"colorAccent"
>
#FF4081
</color>
<color
name=
"colorRed"
>
#ff0000
</color>
<color
name=
"onboarder_bg_1"
>
#5fa4c4
</color>
<color
name=
"onboarder_bg_2"
>
#d4774f
</color>
...
...
Please
register
or
sign in
to post a comment