angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

Angular 14 support?

Open vadimwe opened this issue 3 years ago • 15 comments

Issue description Can't install. Depedencies errors

Steps to reproduce and a minimal demo of the problem

npm install @agm/core --save in Angular 14 project _Use stackblitz.com or similar -- try this template as a starting point: https://stackblitz.com/edit/angular-google-maps-demo

What steps should we try in your demo to see the problem?

Current behavior Depedencies errors

Expected/desired behavior Normal install

angular-google-maps, Angular, & any other relevant dependency versions Angular 14 (fresh)

Other information

vadimwe avatar Jul 01 '22 18:07 vadimwe

Duplicate of #2008 #2000 #1987 #1938 #1932

DaSchTour avatar Jul 01 '22 18:07 DaSchTour

@DaSchTour - Is this library still maintained? Are there any plans to add support for Angular 14? We are upgrading to Angular 14 and seeing the below error - image

sistla001 avatar Jul 21 '22 20:07 sistla001

I have the same question as the others. We are currently using Angular 8 but will be upgrading to the next major release within the a few months. This library seems like it is unmaintained and dead. The upgrade path appears to be upgrading to the official material library. If this is incorrect would appreciate a response.

ng-druid avatar Aug 01 '22 16:08 ng-druid

There are two options.

  1. Use the angular components google maps - with probably less features
  2. Use this fork of agm https://github.com/ng-maps/ng-maps

DaSchTour avatar Aug 02 '22 04:08 DaSchTour

Hallo @sebholstein,

schöne Grüße aus Österreich. Könnten Sie bei Gelegenheit bitte einen der Pull Requests für Angular 14 Support mergen?

Pull Request: https://github.com/sebholstein/angular-google-maps/pull/2014

Schönes Wochenende noch!

LG, Daniel

danielsigl avatar Aug 06 '22 20:08 danielsigl

There are two options.

  1. Use the angular components google maps - with probably less features
  2. Use this fork of agm https://github.com/ng-maps/ng-maps

Hello @DaSchTour I'm using ng-maps fork, but seems like <map-circle editable options not work. Is that a pending feature to enable? I set draggable, editable and clickable to true but it is readonly circle. I appreciate any confirmation about this. Thanks!!

maguilleng avatar Nov 06 '22 02:11 maguilleng

@maguilleng can you please create an issue in ng-maps repo and I'll take a look.

DaSchTour avatar Nov 06 '22 06:11 DaSchTour

@DaSchTour Thanks for the ng-maps recommendation. I'm on AGM 1.0.0 and need o migrate it all over to ng-maps to support newer versions of Angular.

jason-jason-h avatar Nov 09 '22 22:11 jason-jason-h

Facing the same error image

udhayakumarcp avatar Dec 05 '22 16:12 udhayakumarcp

Should be noted that ng-maps isn't a drop in replacement for agm. We ran into several issues that needed to be resolved when carrying out the migration. The API is similar but not exact.

ng-druid avatar Dec 06 '22 14:12 ng-druid

Facing the same error image

use (( npm i @amin-karimi/agm-core )) for angular 14.2

Amin-Karimi avatar Dec 17 '22 11:12 Amin-Karimi

Should be noted that ng-maps isn't a drop in replacement for agm. We ran into several issues that needed to be resolved when carrying out the migration. The API is similar but not exact.

I had to change some API to align with new google API. You can maybe create an issue and describe the problems with migration and maybe I can do some adjustments to make migration easier.

DaSchTour avatar Dec 17 '22 12:12 DaSchTour

Is there an update on this issue? We have the same problems!

hvdscheer avatar Jan 24 '23 09:01 hvdscheer

Same issue here

shifas-cubet avatar Jun 08 '23 07:06 shifas-cubet

Guys, I created a fork from this project that is Angular 14-compatible (link)

All you need is to runnpm i @hudsontavares/agm-core and replace the @agm/core references from your codebase.

I am out of time to maintain the package, at least for now (the code is at https://github.com/hudsontavares/angular-google-maps), so feel free to contribute with Angular 15 / 16 support PRs if necessary (I can find time for releasing).

hudsontavares avatar Jul 08 '23 12:07 hudsontavares