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
94702311
Commit
94702311
authored
Aug 01, 2019
by
niuxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latest
parent
91953ac7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.gitignore
.gitignore
+2
-0
main.component.ts
src/app/main/main.component.ts
+1
-1
No files found.
.gitignore
View file @
94702311
...
@@ -2,3 +2,4 @@ wwwroot/*.js
...
@@ -2,3 +2,4 @@ wwwroot/*.js
node_modules
node_modules
typings
typings
dist
dist
./assets/maptile
\ No newline at end of file
src/app/main/main.component.ts
View file @
94702311
...
@@ -305,7 +305,7 @@ export class MainComponent implements OnInit,AfterViewInit {
...
@@ -305,7 +305,7 @@ export class MainComponent implements OnInit,AfterViewInit {
this
.
setBound
();
this
.
setBound
();
(
window
as
any
).
map
.
setMapStyle
({
styleJson
:
theme
});
//
(window as any).map.setMapStyle({ styleJson: theme });
map
.
enableScrollWheelZoom
(
true
);
map
.
enableScrollWheelZoom
(
true
);
//map.centerAndZoom("山西省",3);
//map.centerAndZoom("山西省",3);
...
...
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