rc-leaflet
TypeScript icon, indicating that this package has built-in type declarations

1.4.2 • Public • Published

React Map Components of Leaflet.js

CHANGELOG

Docs

Features

  • TypeScript support

  • JSX support for Popup, Tooltip and DivIcon

  • MassPoints support, about max 150k points. (v1.1.0+)

  • ClusterPoints support, about max 50k points. (v1.1.0+)

  • RCMap scope Theme support

  • Import on Demand (tree-shaking)

Components

Plugins

Configuration

Usage

Install

npm install rc-leaflet --save

Import on Demand

npm install babel-plugin-import --save-dev
// .babelrc or babel-loader option
{
  "plugins": [
    [
      "import",
      {
        "libraryName": "rc-leaflet",
        "libraryDirectory": "es/components",
        "camel2DashComponentName": false
      },
      "rc-leaflet-import"
    ]
  ]
}

Package Sidebar

Install

npm i rc-leaflet

Weekly Downloads

24

Version

1.4.2

License

MIT

Unpacked Size

5.76 MB

Total Files

253

Last publish

Collaborators

  • wgj