@antv/l7-district
L7 district moudules
Last updated 4 years ago by lzxue .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @antv/l7-district 
SYNC missed versions from official npm registry.

boundary

Getting Started

Install dependencies,

$ yarn install

Start the dev server,

$ yarn run start

Build documentation,

$ yarn run docs:build

Build library via father-build,

$ yarn run build

如何更新数据

import { setDataConfig } from '@antv/l7-district';
setDataConfig({
  country: {
    CHN: {
      1: {
        // 设置省级地图
        fill: {
          type: 'pbf', // 支持pbf 和 geojson  pbf 进行了数据压缩,减少数据量
          url:
            'https://gw.alipayobjects.com/os/bmw-prod/47af6305-062e-454f-9e8a-55e0808b2b7a.bin',
        },
      },
    },
  },
});

如何转成 pbf

可以将 GeoJSON 转成 Pbf

Current Tags

  • 2.2.41                                ...           beta (4 years ago)
  • 2.3.12                                ...           latest (3 years ago)

62 Versions

  • 2.3.12                                ...           3 years ago
  • 2.3.11                                ...           3 years ago
  • 2.3.10                                ...           3 years ago
  • 2.3.9                                ...           3 years ago
  • 2.3.7                                ...           3 years ago
  • 2.3.6                                ...           3 years ago
  • 2.3.5                                ...           3 years ago
  • 2.3.4                                ...           3 years ago
  • 2.3.3                                ...           3 years ago
  • 2.3.2                                ...           3 years ago
  • 2.3.1                                ...           4 years ago
  • 2.3.0                                ...           4 years ago
  • 2.2.46                                ...           4 years ago
  • 2.2.45                                ...           4 years ago
  • 2.2.44                                ...           4 years ago
  • 2.2.43                                ...           4 years ago
  • 2.2.42                                ...           4 years ago
  • 2.2.41                                ...           4 years ago
  • 2.2.40-beta.10                                ...           4 years ago
  • 2.2.40-beta.9                                ...           4 years ago
  • 2.2.40-beta.8                                ...           4 years ago
  • 2.2.40-beta.7                                ...           4 years ago
  • 2.2.40-beta.6                                ...           4 years ago
  • 2.2.40-beta.5                                ...           4 years ago
  • 2.2.40-beta.4                                ...           4 years ago
  • 2.2.40-beta.3                                ...           4 years ago
  • 2.2.40-beta.2                                ...           4 years ago
  • 2.2.40-beta.1                                ...           4 years ago
  • 2.2.40-beta.0                                ...           4 years ago
  • 2.2.39                                ...           4 years ago
  • 2.2.38                                ...           4 years ago
  • 2.2.37                                ...           4 years ago
  • 2.2.36                                ...           4 years ago
  • 2.2.3-6.beta.0                                ...           4 years ago
  • 2.2.35                                ...           4 years ago
  • 2.2.34                                ...           4 years ago
  • 2.2.33                                ...           4 years ago
  • 2.2.32                                ...           4 years ago
  • 2.2.31                                ...           4 years ago
  • 2.2.28                                ...           4 years ago
  • 2.2.26                                ...           4 years ago
  • 2.2.24                                ...           4 years ago
  • 2.2.23                                ...           4 years ago
  • 2.2.22                                ...           4 years ago
  • 2.2.21                                ...           4 years ago
  • 2.2.20                                ...           4 years ago
  • 2.2.19                                ...           4 years ago
  • 2.2.18                                ...           4 years ago
  • 2.2.17                                ...           4 years ago
  • 2.2.16                                ...           4 years ago
  • 2.2.15                                ...           4 years ago
  • 2.2.14                                ...           4 years ago
  • 2.2.13                                ...           4 years ago
  • 2.2.12                                ...           4 years ago
  • 2.2.11                                ...           4 years ago
  • 2.2.10                                ...           4 years ago
  • 2.2.9                                ...           4 years ago
  • 2.2.8                                ...           4 years ago
  • 2.2.7                                ...           4 years ago
  • 2.2.6                                ...           4 years ago
  • 2.2.5                                ...           5 years ago
  • 2.2.4                                ...           5 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE