# L7-boundary **Repository Path**: mirrors_antvis/L7-boundary ## Basic Information - **Project Name**: L7-boundary - **Description**: 行政区划围栏可视化方案 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-09-08 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LL7Boundary L7Boundary 停止维护,建议替换使用 L7Plot Choropleth,[详见](https://github.com/antvis/L7-boundary) ## Getting Started Install dependencies, ```bash $ yarn install ``` Start the dev server, ```bash $ yarn run start ``` Build documentation, ```bash $ yarn run docs:build ``` Build library via `father-build`, ```bash $ yarn run build ``` ### 如何更新数据 ```javascript import { setDataConfig } from '@antv/l7-district'; setDataConfig({ country: { CHN: { 1: { // 2. 市级地图 3.县级地图 // 设置省级地图 fill: { type: 'pbf', // 支持pbf 和 geojson pbf 进行了数据压缩,减少数据量 url: 'https://gw.alipayobjects.com/os/bmw-prod/47af6305-062e-454f-9e8a-55e0808b2b7a.bin', }, }, }, }, }); ``` #### 如何转成 pbf 可以将 GeoJSON 转成 Pbf