请在 config 文件加入以下脚本
https://10.1.174.34:13600/gis/example/CooGL/CooGL.js': 'http://123.157.223.158:30010/CooGL/version/v1.4/CooGL.js', }, ],
headScripts: [ { src: process.env.NODE_ENV === 'production' ?'针对 infowindow 组件,请使用 CustomOverlay 封装
注意:地图不兼容 autofit,使用请忽略地图缩放
http://123.157.223.158:30017/#stsj
地图示例http://123.157.223.158:30017/Documentation/
地图文档地址安装以下依赖
yarn add color
yarn add ahooks
yarn add lodash
拉取项目
git submodule add ssh://git@171.217.92.33:2224/cityLevel/cooglMap.git ./src/components/CooglMap
更新项目
git submodule update --init --recursive --remote
提交你对 CooglMap 的修改
cd /src/components/CooglMap
git add .
git commit m "update"
git push