Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 2.57 KB

README.en-US.md

File metadata and controls

78 lines (53 loc) · 2.57 KB

English | 简体中文

LarkMap

🌍 A React toolkit for geospatial visualization based on L7.

npm Version npm License Status Release Status

Percentage of issues still open Average time to resolve an issue

WebsiteQuick StartComponents

📦 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.