@pansy/lark-map
TypeScript icon, indicating that this package has built-in type declarations

1.12.1 • Public • Published

LarkMap

🌍 基于 L7 封装的位置可视分析 React 组件库.

📦 安装

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

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

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

🔨 使用

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

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

export default () => {
  return <LarkMap {...config} style={{ height: '300px' }}></LarkMap>;
};

Package Sidebar

Install

npm i @pansy/lark-map

Weekly Downloads

6

Version

1.12.1

License

MIT

Unpacked Size

167 kB

Total Files

172

Last publish

Collaborators

  • wangxingkang