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

No provider for DrawingManager #178

Open
gualtierim opened this issue Jan 9, 2024 · 1 comment
Open

No provider for DrawingManager #178

gualtierim opened this issue Jan 9, 2024 · 1 comment

Comments

@gualtierim
Copy link

gualtierim commented Jan 9, 2024

Hi,
I use angular 16 and I'm integrating NgMapsDrawingLayerModule in order to integrate drawing tool in my google map view.

I have imported the Module, but I receive the error:

[ErrorHandler] NullInjectorError: R3InjectorError(MapModule)[DrawingManager -> DrawingManager -> DrawingManager]: NullInjectorError: No provider for DrawingManager!

I added the component map-drawing-layer as child of map-view. I checked also that google maps drawing library is loaded correctly.

Thanks!

@DaSchTour
Copy link
Contributor

@gualtierim can you please provide a sample code that I can integrate into the examples to debug this error.

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