Vector.js

Vector is an open source javascript library for creating interactive graphics. View the repository, run the tests, or meet the team.

Interactive World Map Open in Sandbox

Description

Every country in the world displayed in an interactive.

Script

/**
* @title Interactive World Map
* @description Every country in the world displayed in an interactive.
* @input Input the name of the map you want to see, and the size of the map.
* @tags [maps]
* @weight 1
*/
import { Interactive, getScriptName } from '../../index.js';
import { globalData } from './maps-json.js';
let myInteractive = new Interactive(getScriptName());
let map = myInteractive.map(globalData);
//# sourceMappingURL=world-map.js.map