Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
supervise-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
牛晓林
supervise-front
Commits
52930465
Commit
52930465
authored
Aug 09, 2019
by
niuxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latest ui 08/09/2019 15:18:28
parent
184e2f8a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
main.component.ts
src/app/main/main.component.ts
+6
-2
No files found.
src/app/main/main.component.ts
View file @
52930465
...
...
@@ -119,7 +119,7 @@ export class MainComponent implements OnInit {
this
.
map
.
setMapStyleV2
({
styleJson
:
theme
});
this
.
map
.
enableScrollWheelZoom
(
true
);
//this.map.enableContinuousZoom()
this
.
map
.
centerAndZoom
(
"山西省"
,
11
);
//
this.map.centerAndZoom("山西省",11);
var
_map
=
this
.
map
;
var
maping
=
{
8
:
11
,
9
:
15
,
10
:
20
,
11
:
22
,
12
:
25
,
13
:
26
,
14
:
28
,
15
:
29
}
this
.
map
.
addEventListener
(
"zoomend"
,
function
()
{
...
...
@@ -169,7 +169,7 @@ export class MainComponent implements OnInit {
// setTimeout(() => {
this
.
loadPolys
(
res
,
false
);
//}, 5000);
});
setTimeout
(()
=>
{
this
.
http
.
get
<
any
>
(
this
.
s
.
basePath
+
"/mapLable/list"
).
subscribe
(
res
=>
{
// this.maplabes = res.data;
//加载labels
...
...
@@ -177,6 +177,10 @@ export class MainComponent implements OnInit {
this
.
loadLabels
(
res
.
data
);
//}, 5000);
});
},
2000
);
});
this
.
http
.
get
<
any
>
(
this
.
s
.
basePath
+
"/scetion/list"
).
subscribe
(
res
=>
{
this
.
allsecs
=
res
.
data
;
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment