Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pansyjs/larkmap

A React toolkit for geospatial visualization based on L7
https://github.com/pansyjs/larkmap

amap component l7 mapbox react typescript

Last synced: about 1 month ago
JSON representation

A React toolkit for geospatial visualization based on L7

Awesome Lists containing this project

README

        


LarkMap


๐ŸŒ ๅŸบไบŽ L7 ๅฐ่ฃ…็š„ไฝ็ฝฎๅฏ่ง†ๅˆ†ๆž React ็ป„ไปถๅบ“.

## ๐Ÿ“ฆ ๅฎ‰่ฃ…

```sh
# npm
$ npm install @antv/l7 @pansy/lark-map

# yarn
$ yarn add @antv/l7 @pansy/lark-map

# pnpm
$ pnpm i @antv/l7 @pansy/lark-map
```

## ๐Ÿ”จ ไฝฟ็”จ

```tsx
import { LarkMap } from '@pansy/lark-map';

const config = {
mapType: 'Mapbox',
mapOptions: {
style: 'light',
center: [120.210792, 30.246026],
zoom: 8,
...
},
};

export default () => {
return ;
};
```