1.0.14 • Published 5 years ago

echarts-mapmaker v1.0.14

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

echarts-mapmaker

Makes custom geomaps for echarts presentation. It takes a subset of echarts-map-tool as core map editing utility.

Commands

makejs

Compress any un-compressed geojson as js file.

Usage: makejs [options] <geojson> <js> <mapRegistryName>


Options:

  -h, --help  output usage information

where importantly mapRegistryName is the name to be called in your echarts script.

Example commands

makejs world.json world.js world

compress

Compress any un-compressed geojson as js file.

Usage: compress [options] <geojson> <output>


Options:

  -h, --help  output usage information

Example commands

compress world.json world.json

decompress

Decompress any compressed js file back to geojson

Usage: decompress <js> <geojson>

Options:

  -h, --help  output usage information

property

Manage the property of a geojson file.

Usage: property [options] <geojson>


Options:

  -l, --list                                      list all properties in each feature
  -r, --rename <oldname,newname>                  rename a property
  -m, --merge <propertya,propertyb,new property>  merge two property
  -h, --help                                      output usage information

merge

Merge second geojson into the first file.

Usage: merge [options] <geojson> <geojsonToBeMerged>


Options:

  -h, --help  output usage information

split

Split the geojson into individual independent geojson files

Usage: split [options] <geojson>


Options:

  -h, --help  output usage information

decode

Decode utf-8 encode geojson file

  Usage: decode [options] <geojson> <output_geojson>


  Options:

    -h, --help  output usage information

shaper2echarts

Convert mapshaper dissovled geojson files into echarts map file.

Usage: shaper2echarts [options] <geojson> <geojson4echarts> <name>


Options:

  -h, --help  output usage information

License

MIT

Credit

  1. compress.js comes from echarts-map-tool.
  2. parseGeoJson.js comes from echarts.js.
1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago