Socket
Book a DemoInstallSign in
Socket

echarts-mapmaker

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

echarts-mapmaker

Make maps for echarts

1.0.14
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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

  • compress.js comes from echarts-map-tool.
  • parseGeoJson.js comes from echarts.js.

Keywords

echarts

FAQs

Package last updated on 27 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.