Angular-google-maps: Angular v9 support

Created on 14 Jan 2020  路  12Comments  路  Source: SebastianM/angular-google-maps

After update to angular 9.0.0-rc.8 I got error

ERROR in node_modules/@agm/core/core.module.d.ts:28:79 - error NG6005: AgmCoreModule.forRoot returns a ModuleWithProviders type without a generic type argument. Please add a generic type argument to the ModuleWithProviders type. If this occurrence is in library code you don't control, please contact the library authors.

28 static forRoot(lazyMapsAPILoaderConfig?: LazyMapsAPILoaderConfigLiteral): ModuleWithProviders;

src/main/webapp/app/dashboard/dashboard.module.ts:70:14 - error NG6002: Appears in the NgModule.imports of EnergyFluxAppModule, but could not be resolved to an NgModule class

angular-google-maps, Angular, & any other relevant dependency versions
"@angular/core": "9.0.0-rc.8",
"@agm/core": "1.1.0",

Most helpful comment

This angular-google-maps project has been very useful, but it is likely time to switch to

@angular/google-maps
https://github.com/angular/components/blob/master/src/google-maps/README.md

All 12 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Its needed

This angular-google-maps project has been very useful, but it is likely time to switch to

@angular/google-maps
https://github.com/angular/components/blob/master/src/google-maps/README.md

@sumpton Is that has Autocomplete Address component?

@Sampath-Lokuge I don't believe so. It wraps https://developers.google.com/maps/documentation/javascript/tutorial
for Angular. I only use it to display maps and markers from Angular as I did with @agm/core.

@sumpton Yes, it has only 3 components yet.

I think this needs to run on angular 9.1.x so its fully up to date then we should try to get repo owners to merge it

yep, we're going to update it hopefully.

@doom777 Hmm... Now it should be Angular 10+ :D

correct, see #1833

any news about this issue ??!!

@SlaySayto see #1833 it has been fixed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChrisDevinePimss picture ChrisDevinePimss  路  3Comments

mensch picture mensch  路  3Comments

ostapch picture ostapch  路  4Comments

shedar picture shedar  路  4Comments

Halynsky picture Halynsky  路  3Comments