[Help] Country Orders Statistics card not working properly
- 主要语言
- TypeScript
- 星标
- 25.7k
- 派生
- 7.9k
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Issue type
**I'm submitting a ...** (check one with "x")
* [ ] bug report
* [ ] feature request
* [x] question about the decisions made in the repository
### Issue description
**Current behavior:**
I imported this card/widget to a "clean project" which didn't have lots of packages installed, then I started to do it manually, but now I got stuck with the map not working properly, due to these things below:
1. It seems like the styles were not loaded as it should (there is a scrollbar showing up and also the zoom buttons are not placed correctly);
2. The hover function as well as clicking into another country is also not working;
**Expected behavior:**
It should just work as it is in the demo page
**Steps to reproduce:**
Package.json
`{
"name": "eloan",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular-devkit/build-angular": "^0.1002.0",
"@angular/animations": "^10.2.1",
"@angular/cdk": "^10.2.5",
"@angular/cli": "^10.2.0",
"@angular/common": "^10.2.1",
"@angular/compiler": "^10.2.1",
"@angular/compiler-cli": "^10.2.1",
"@angular/core": "^10.2.1",
"@angular/forms": "^10.2.1",
"@angular/material": "^10.2.5",
"@angular/platform-browser": "^10.2.1",
"@angular/platform-browser-dynamic": "^10.2.1",
"@angular/router": "^10.2.1",
"@asymmetrik/ngx-leaflet": "3.0.1",
"@nebular/auth": "^6.2.1",
"@nebular/bootstrap": "^6.2.1",
"@nebular/eva-icons": "^6.2.1",
"@nebular/security": "^6.2.1",
"@nebular/theme": "^6.2.1",
"@swimlane/ngx-charts": "^16.0.0",
"bootstrap": "^4.5.3",
"codelyzer": "^6.0.1",
"echarts": "^4.9.0",
"eva-icons": "^1.1.3",
"jquery": "^3.5.1",
"leaflet": "1.2.0",
"nebular-icons": "^1.1.0",
"ng2-completer": "^9.0.1",
"ng2-smart-table": "^1.7.0",
"ngx-echarts": "^5.1.2",
"popper.js": "^1.16.1",
"rxjs": "^6.6.3",
"rxjs-compat": "6.3.0",
"tslint": "^6.1.3",
"zone.js": "^0.11.2"
},
"devDependencies": {}
}
`
The other files were mainly not modified.
Is there an issue related to some package version or maybe did I forget to import anything?
[Offtopic]: How is the best way to copy a card/widget from the demo application? Is it possible to use the Angular CLI or anything else to make it easier? I did it all by hand, component by component, etc.
Thanks in advance!
**Related code:**
If you are able to illustrate the bug or feature request with an example, please provide a sample application via one of the following means:

### Other information:
**npm, node, OS, Browser**
```
```
贡献指南
评估
这个 Issue 还没有评估数据。