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

'agm-map' is not a known element: #1990

Open
haseebee7 opened this issue Oct 29, 2021 · 4 comments
Open

'agm-map' is not a known element: #1990

haseebee7 opened this issue Oct 29, 2021 · 4 comments
Labels

Comments

@haseebee7
Copy link

'agm-map' is not a known element:

  1. If 'agm-map' is an Angular component, then verify that it is part of this module.
  2. If 'agm-map' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
    I am trying to show Google Maps in a modal with a marker. Stuck in this problem. What should I do?
@haseebee7
Copy link
Author

I am using Angular 12

@misomarcell
Copy link

Do you have AgmCoreModule.forRoot(...) imported in your module?

@hamz4arif
Copy link

if you are using a child module then import AGM into both(parent(with API key), child) module

@stale
Copy link

stale bot commented Apr 16, 2022

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.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants