English | 简体中文
$ npm install @antv/l7 @antv/larkmapimportReactfrom'react';import{LarkMap}from'@antv/larkmap';constconfig={mapType: 'Gaode',mapOptions: {style: 'light',center: [120.210792,30.246026],pitch: 0,zoom: 8,rotation: 0,},};exportdefault()=>{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.