Closed haoyinag closed 4 years ago
直接使用demo中的react对应demo
1、找不到AMAP组件; 2、另外,项目中使用了react-amap 高德地图组件,会不会冲突,现在L7demo都完全走不下去
"@amap/amap-jsapi-types": "^0.0.4", "@ant-design/pro-layout": "^5.0.9", "@ant-design/pro-table": "^2.2.7", "@antv/l7": "^2.2.11", "@antv/l7-maps": "^2.2.11", "@types/jest": "^25.2.1", "@types/react": "^16.9.34", "@umijs/hooks": "^1.9.2", "@umijs/preset-react": "1.x", "@umijs/test": "^3.1.1", "antd-dayjs-webpack-plugin": "^1.0.0", "cross-env": "^7.0.2", "html2canvas": "^1.0.0-rc.5", "lint-staged": "^10.0.7", "postcss-px-to-viewport": "^1.1.1", "prettier": "^2.0.5", "react": "^16.12.0", "react-amap": "^1.2.8", "react-dom": "^16.12.0", "stylus": "^0.54.7", "stylus-loader": "^3.0.2", "ts-md5": "^1.2.7", "typescript": "^3.8.3", "umi": "^3.1.1", "yorkie": "^2.0.0"
你写的不对,l7 里面的Map 是GaodeMap
直接使用demo中的react对应demo
1、找不到AMAP组件; 2、另外,项目中使用了react-amap 高德地图组件,会不会冲突,现在L7demo都完全走不下去