Make maps for echarts
npm install echarts-mapmakerMakes custom geomaps for echarts presentation. It takes a subset of echarts-map-tool as core map editing utility.
:book:echarts geomapping book
:secret:echarts 工匠秘籍
Compress any un-compressed geojson as js file.
``
Usage: makejs [options]
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 any un-compressed geojson as js file.
`
Usage: compress [options]
Options:
-h, --help output usage information
`
Example commands
compress world.json world.json
Decompress any compressed js file back to geojson
`
Usage: decompress
Options:
-h, --help output usage information
`
Manage the property of a geojson file.
`
Usage: property [options]
Options:
-l, --list list all properties in each feature
-r, --rename
-m, --merge
-h, --help output usage information
`
Merge second geojson into the first file.
`
Usage: merge [options]
Options:
-h, --help output usage information
`
Split the geojson into individual independent geojson files
`
Usage: split [options]
Options:
-h, --help output usage information
`
Decode utf-8 encode geojson file
`
Usage: decode [options]
Options:
-h, --help output usage information
`
Convert mapshaper dissovled geojson files into echarts map file.
`
Usage: shaper2echarts [options]
Options:
-h, --help output usage information
``
MIT
This projects is NOT associated with official Apache ECharts (incubating) project and is independently maintained by @chfw.
1. compress.js comes from echarts-map-tool.
1. parseGeoJson.js comes from echarts.js.