Search code examples
javascriptjquerydictionarygeojsonamcharts

map using geojson file in AMCHARTS not working


I am quite new to javascript and I am having a hard time reproducing this example of amcharts map from geojson format exactly like the one illustrated. What I did to try to reproduce locally: I created the files index.css, index.js and index.html and copied the codes from each of the tabs in the example on them. what am I doing wrong?


Solution

  • Make sure you have Included Jquery.js before Index.js. Also include geojson2svg(https://github.com/gagan-bansal/geojson2svg) library which is mentioned in tutorial.

    Happy Coding!!!!