@antv/larkmap
v1.4.9
Published
A React toolkit for geospatial visualization based on L7
Downloads
1,670
Maintainers
Readme
English | 简体中文
🌍 A React toolkit for geospatial visualization based on L7.
📦 Installation
$ npm install @antv/l7 @antv/larkmap
🔨 Usage
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>;
};
Local Development
# Install project dependencies
$ npm install
# Run website
$ npm run start
# Run lint & unit tests
$ npm run ci
# Compile package
$ npm run build
🤝 How to Contribute
Your contributions are always welcome! Please Do have a look at the issues first.
To become a contributor, please follow our contributing guide.
License
MIT@AntV.