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

Compatibilité Angular 15 #367

Open
krabouilleur opened this issue May 9, 2023 · 1 comment
Open

Compatibilité Angular 15 #367

krabouilleur opened this issue May 9, 2023 · 1 comment

Comments

@krabouilleur
Copy link

Sous Angular 15,
je veux utiliser geoportal-extension mais il y a des erreurs dans la librairie

je créé un nouveau projet angular.
puis npmi [email protected]
puis npm i geoportal-extensions-leaflet

package.json :

{
  "name": "a16",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "watch": "ng build --watch --configuration development",
    "test": "ng test"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^15.0.0",
    "@angular/common": "^15.0.0",
    "@angular/compiler": "^15.0.0",
    "@angular/core": "^15.0.0",
    "@angular/forms": "^15.0.0",
    "@angular/platform-browser": "^15.0.0",
    "@angular/platform-browser-dynamic": "^15.0.0",
    "@angular/router": "^15.0.0",
    "geoportal-extensions-leaflet": "^2.1.9",
    "leaflet": "^1.7.1",
    "rxjs": "~7.5.0",
    "tslib": "^2.3.0",
    "zone.js": "~0.12.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^15.0.4",
    "@angular/cli": "~15.0.4",
    "@angular/compiler-cli": "^15.0.0",
    "@types/jasmine": "~4.3.0",
    "jasmine-core": "~4.5.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.8.2"
  }
}

geoportal-extensions-leaflet = 2.1.9
leaflet = 1.7.1

j'ai immediatement des erreurs de typage :
image

@elias75015
Copy link
Contributor

Bonjour,

dans un premier temps peut être voir le projet utilisant ls API extensions Leaflet sous Angular pour avoir un exemple sous la main :
https://github.com/IGNF/geoportal-third-party-integration

Et ce ticket :
#359

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