Introduction
Installation
This section covers how to install and set up jsvectormap, the following steps will guide you through the installation process.
Installation
To get started with jsvectormap, you can install it through your preferred package manager or include it directly from a CDN for quick integration.
npm install jsvectormap # pnpm add jsvectormap || yarn add jsvectormap
Download
You can download the latest version from GitHub: Download ZIP or clone the repository:
git clone https://github.com/themustafaomar/jsvectormap.git
CDN (No Installation Required)
For quick usage, you can load jsvectormap directly from a CDN:
<!-- Stylesheet -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jsvectormap/dist/jsvectormap.min.css" />
<!-- Core library -->
<script src="https://cdn.jsdelivr.net/npm/jsvectormap"></script>
<!-- World map (replace with your desired map) -->
<script src="https://cdn.jsdelivr.net/npm/jsvectormap/dist/maps/world.js"></script>