1.4.2 • Published 5 years ago
rc-leaflet v1.4.2
React Map Components of Leaflet.js
CHANGELOG
Docs
Features
TypeScriptsupportJSXsupport forPopup,TooltipandDivIconMassPointssupport, about max 150k points.(v1.1.0+)ClusterPointssupport, about max 50k points.(v1.1.0+)RCMap scope
ThemesupportImport on Demand (tree-shaking)
Components
LayerGroup
(v1.4.0+)FeatureGroup
(v1.4.0+)GeoJSON
(v1.4.0+)MassPoints
(v1.1.0+)ClusterPoints
(v1.1.0+)will deprecate inv1.5.0+, use rc-leaflet-cluster insteadImageOverlay
(v1.4.0+)VideoOverlay
(v1.4.0+)SVGOverlay
(v1.4.0+)
Plugins
rc-leaflet-routing
Configuration
Usage
Install
npm install rc-leaflet --saveImport 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"
]
]
}