English | 简体中文
📦 安装
$ npm install @antv/l7 @antv/larkmap
🔨 使用
import React from 'react'; import { LarkMap } from '@antv/larkmap'; const config = { mapType: 'Gaode', mapOptions: { style: 'light', center: [120.210792, 30.246026], pitch: 0, zoom: 8, rotation: 0, }, }; export default () => { return <LarkMap {...config} style={{ height: '300px' }}></LarkMap>; };
本地开发
# Install project dependencies $ npm install # Run website $ npm run start # Run lint & unit tests $ npm run ci # Compile package $ npm run build
🤝 如何贡献
如果您在使用的过程中碰到问题,可以先通过 issues 看看有没有类似的 bug 或者建议。
如需提交代码,请遵从我们的贡献指南。
许可证
MIT@AntV.