Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS2305: Module '"leaflet"' has no exported member 'DrawEvents'. #359

Open
EmadR opened this issue Jun 25, 2023 · 1 comment
Open

TS2305: Module '"leaflet"' has no exported member 'DrawEvents'. #359

EmadR opened this issue Jun 25, 2023 · 1 comment

Comments

@EmadR
Copy link

EmadR commented Jun 25, 2023

hi

  1. when i run ng test, i receive this error

"dependencies": {
"@angular/animations": "^15.2.8",
"@angular/cdk": "^15.2.9",
"@angular/common": "^15.2.8",
"@angular/compiler": "^15.2.8",
"@angular/core": "^15.2.8",
"@angular/forms": "^15.2.8",
"@angular/material": "^15.2.9",
"@angular/platform-browser": "^15.2.8",
"@angular/platform-browser-dynamic": "^15.2.8",
"@angular/router": "^15.2.8",
"@asymmetrik/ngx-leaflet": "^15.0.1",
"@asymmetrik/ngx-leaflet-draw": "^15.0.1",
"@popperjs/core": "^2.10.2",
"leaflet": "^1.9.3",
"leaflet-draw": "^1.0.4",
"rxjs": "~7.5.0",
"select2": "^4.1.0-rc.0",
"sweetalert2": "^11.6.15",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.7",
"@angular/cli": "~15.2.7",
"@angular/compiler-cli": "^15.2.8",
"@types/jasmine": "~4.0.0",
"@types/leaflet": "^1.2.0",
"@types/leaflet-draw": "^1.0.6",
"jasmine-core": "~4.3.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~4.9.5"
}

====================================
2. how set marker lat and long? i receive lat and log from server and i want to show location on map by marker

@morong34
Copy link

hi, some updates on this? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants