Hi All
i am a student learning angular and ionic
i am using angular cli 6.2.4 and ionic 4.2.1
I would like to make use of Angular Google Maps (AGM)
In the app.module.ts i have imported after running npm install @agm/core --save
import { AgmCoreModule } from '@agm/core';
in the @NgModule imports array i have added AgmCoreModule.forRoot({apiKey: 'API KEY HERE'})
When trying to add
'agm-map' is not a known element:
the funny thing is that if i go to app.html i am able to successfully add the
any ideas what could be causing this issue
@n1t3w0lf are the other pages you created in their own modules? If so, you will need to import the AgmModule there as well.
@hebra
Each new page i created does have an module.ts file after adding the imports here it seems to be working
Thank you very much for your feedback
@n1t3w0lf you're welcome. Please close the issue as it is not an issue.
Most helpful comment
@n1t3w0lf are the other pages you created in their own modules? If so, you will need to import the AgmModule there as well.