AdminLTE/bower_components/jvectormap
Abdullah Almsaeed b50004f17c Fix #1616
2018-07-15 11:11:21 -04:00
..
converter Fix #1616 2018-07-15 11:11:21 -04:00
lib Fix #1616 2018-07-15 11:11:21 -04:00
tests Fix #1616 2018-07-15 11:11:21 -04:00
.bower.json Fix #1616 2018-07-15 11:11:21 -04:00
.gitignore Add bower_components for direct downloads but ignore them when installing using npm or bower 2017-07-01 16:16:47 -04:00
build.sh Fix #1616 2018-07-15 11:11:21 -04:00
jquery-jvectormap.css Fix #1616 2018-07-15 11:11:21 -04:00
jquery-jvectormap.js Fix #1616 2018-07-15 11:11:21 -04:00
jquery-mousewheel.js Fix #1616 2018-07-15 11:11:21 -04:00
jvectormap.jquery.json Fix #1616 2018-07-15 11:11:21 -04:00
README.md Fix #1616 2018-07-15 11:11:21 -04:00

This is an official git repository for the jVectorMap plug-in for jQuery. Its main purpose is to show interactive vector maps on the web pages.

You can find maps, documentation, examples and more at the official site

It also includes a converter that could be used to create your own maps for jVectorMap from the data in various GIS formats like Shapefile. The following command could be used to convert USA map from the data available at www.naturalearthdata.com:

python \
  path/to/converter.py \
  path/to/geo-data.shp \
  path/to/resulting-map.js \
  --width 900 \
  --country_name_index 4 \
  --where "ISO = 'USA'" \
  --codes_file path/to/codes-en.tsv \
  --insets '[{"codes": ["US-AK"], "width": 200, "left": 10, "top": 370}, {"codes": ["US-HI"], "width": 100, "left": 220, "top": 400}]' \
  --minimal_area 4000000 \
  --buffer_distance -0.5 \
  --simplify_tolerance 1000 \
  --longitude0 -10.15 \
  --name us