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
91fb26c2
Commit
91fb26c2
authored
Aug 09, 2019
by
niuxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latest ui 08/09/2019 13:57:00
parent
a9e24c89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
main.component.ts
src/app/main/main.component.ts
+2
-1
No files found.
src/app/main/main.component.ts
View file @
91fb26c2
...
@@ -292,10 +292,11 @@ export class MainComponent implements OnInit {
...
@@ -292,10 +292,11 @@ export class MainComponent implements OnInit {
timer
(
0
,
200
)
timer
(
0
,
200
)
.
pipe
(
timeInterval
(),
pluck
(
'interval'
),
take
(
dur
)).
subscribe
((
index
:
any
)
=>
{
.
pipe
(
timeInterval
(),
pluck
(
'interval'
),
take
(
dur
)).
subscribe
((
index
:
any
)
=>
{
this
.
map
.
centerAndZoom
(
view
.
center
,
orginZoom
+
1
);
// this.m.dispatchWheelEvent_Chrome(document.getElementById("baidu-map"),10);
// this.m.dispatchWheelEvent_Chrome(document.getElementById("baidu-map"),10);
}
}
);
);
this
.
map
.
centerAndZoom
(
view
.
center
,
view
.
zoom
);
// setTimeout(() => {
// setTimeout(() => {
// this.m.dispatchWheelEvent_Chrome(document.getElementById("baidu-map"),50);
// this.m.dispatchWheelEvent_Chrome(document.getElementById("baidu-map"),50);
// this.map.centerAndZoom(view.center,view.zoom);
// this.map.centerAndZoom(view.center,view.zoom);
...
...
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