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

地点搜索服务,AmapPlaceSearchService 报错 #39

Open
bl724 opened this issue Sep 7, 2019 · 1 comment
Open

地点搜索服务,AmapPlaceSearchService 报错 #39

bl724 opened this issue Sep 7, 2019 · 1 comment

Comments

@bl724
Copy link

bl724 commented Sep 7, 2019

按照示例写的,只导入 AmapPlaceSearchService ,构造函数申明页面就报错
core.js:15724 ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[AmapPlaceSearchService -> LoggerService]: StaticInjectorError(Platform: core)[AmapPlaceSearchService -> LoggerService]:
ionic4+angular7.2

@xieziyu
Copy link
Owner

xieziyu commented Sep 9, 2019

确保你的module有正确引入 NgxAmapModule.forRoot({...})

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