--- title: Vector Maps description: Interactive guide to creating vector maps with jsVectorMap. summary: Vector maps are a great way to display geographical data in an interactive and visually appealing way. Learn how to create vector maps with jsVectorMap. --- ## Installation To use vector maps in your project, you need to include the jsVectorMap library in your project. You can install it via npm or include it directly from a CDN. The following example demonstrates how to include the jsVectorMap library from a CDN: ```html ``` ## Sample demo Integrating the vector map into your website is straightforward. Below is a sample implementation for a world map: ```html
``` Look at the example below to see how the vector map works with a world map. ```html example vendors height="30rem" libs="jsvectormap,jsvectormap-world" columns={2} centered
``` ## Markers You can add markers to the map to highlight specific locations. Below is a sample implementation for a world map with markers: ```html example vendors height="30rem" libs="jsvectormap,jsvectormap-world-merc" columns={2} centered
```