ngx-amap
ngx-amap copied to clipboard
地点搜索服务,AmapPlaceSearchService 报错
按照示例写的,只导入 AmapPlaceSearchService ,构造函数申明页面就报错
core.js:15724 ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[AmapPlaceSearchService -> LoggerService]: StaticInjectorError(Platform: core)[AmapPlaceSearchService -> LoggerService]:
ionic4+angular7.2
确保你的module有正确引入 NgxAmapModule.forRoot({...})