You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
错误提示
error TS2339: Property 'DistrictSearch' does not exist on type 'typeof AMap'.
开发依赖的包版本
"@types/amap-js-api-district-search": "^1.4.0",
请问我是否应该修改tsconfig某些设置
我可以顺利使用ngx-amap,但是在调用服务的驾车路径规划时碰到提示:
error TS2694: Namespace 'AMap' has no exported member 'Driving'
我的安装包如下:
"dependencies": {
......
"ngx-amap": "^3.0.5",
......
},
"devDependencies": {
......
"@types/amap-js-api": "^1.4.7",
"@types/amap-js-api-autocomplete": "^1.4.0",
"@types/amap-js-api-driving": "^1.4.0",
"@types/amap-js-api-heatmap": "^1.4.0",
"@types/amap-js-api-place-search": "^1.4.0",
"@types/amap-js-api-tool-bar": "^1.4.0",
"@types/amap-js-api-transfer": "^1.4.0",
......
}
但是我下载了您的Github Demo,路径规划是正常的,请问我应该修改什么设置?
The text was updated successfully, but these errors were encountered: