Steps to Power the Map with JSON
1. Change the mapdata.js settings as desired and refresh the page.
2. Paste the below text into a text editor and save it as mapdata.json
3. Change "mapdata.js" to "mapdata.json" in the test.html file.
4. Add the following snippet to the top of the worldmap.js file.
json_info=eval(mapdata_json); var main_settings=json_info.main_settings; var country_specific=json_info.country_specific; var locations=json_info.locations;
5. Now any changes to the mapdata.json file will be reflected on the map.