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
fdefc12c
Commit
fdefc12c
authored
Aug 09, 2019
by
niuxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latest ui 08/09/2019 17:15:01
parent
85e30543
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
16 deletions
+20
-16
main.component.ts
src/app/main/main.component.ts
+6
-6
orgingetscript.js
src/assets/orgingetscript.js
+9
-9
styles.less
src/styles.less
+5
-1
No files found.
src/app/main/main.component.ts
View file @
fdefc12c
...
@@ -136,12 +136,6 @@ export class MainComponent implements OnInit {
...
@@ -136,12 +136,6 @@ export class MainComponent implements OnInit {
}
}
});
});
this
.
setBound
();
this
.
setBound
();
this
.
route
.
queryParamMap
.
subscribe
(
queryParams
=>
{
this
.
debug
=
Boolean
(
queryParams
.
get
(
"debug"
))
if
(
this
.
debug
)
{
this
.
dynamicScriptLoader
.
load
(
'drawing'
).
then
(
data
=>
{
this
.
dynamicScriptLoader
.
load
(
'drawing'
).
then
(
data
=>
{
// Script Loaded Successfully
// Script Loaded Successfully
...
@@ -195,6 +189,12 @@ export class MainComponent implements OnInit {
...
@@ -195,6 +189,12 @@ export class MainComponent implements OnInit {
});
});
}).
catch
(
error
=>
console
.
log
(
error
));
}).
catch
(
error
=>
console
.
log
(
error
));
this
.
route
.
queryParamMap
.
subscribe
(
queryParams
=>
{
this
.
debug
=
Boolean
(
queryParams
.
get
(
"debug"
))
if
(
this
.
debug
){
var
node
=
document
.
getElementsByClassName
(
'BMapLib_Drawing'
)[
0
];
(
node
as
any
).
style
.
display
=
'block'
;
}
}
})
})
...
...
src/assets/orgingetscript.js
View file @
fdefc12c
...
@@ -11494,11 +11494,11 @@ function httpGetAsync(theUrl, callback)
...
@@ -11494,11 +11494,11 @@ function httpGetAsync(theUrl, callback)
window
.
onmousewheel
=
function
(
e
){
// window.onmousewheel=function(e){
var
curZoom
=
map
.
getZoom
();
// var curZoom = map.getZoom();
if
(
e
.
deltaY
>
0
){
// if(e.deltaY>0){
map
.
setZoom
(
curZoom
-
1
);
// map.setZoom(curZoom-1);
}
else
{
// }else{
map
.
setZoom
(
curZoom
+
1
);
// map.setZoom(curZoom+1);
}
// }
}
// }
\ No newline at end of file
\ No newline at end of file
src/styles.less
View file @
fdefc12c
...
@@ -266,7 +266,7 @@ body.jw-modal-open {
...
@@ -266,7 +266,7 @@ body.jw-modal-open {
width: 4em;
width: 4em;
line-break: strict;
line-break: strict;
white-space: initial;
white-space: initial;
margin-top:0.3em;
//
margin-top:0.3em;
}
}
legend{
legend{
...
@@ -280,3 +280,6 @@ legend{
...
@@ -280,3 +280,6 @@ legend{
font-size: 22px;
font-size: 22px;
color:white;
color:white;
}
}
.BMapLib_Drawing{
display: none;
}
\ No newline at end of file
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