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
Your contributions are always welcome! Please Do have a look at the issues first.
To become a contributor, please follow our contributing guide.
MIT@AntV.