Js Vector Maps
OverviewOfficial Website
Vector js is a lightweight Javascript library for creating interactive maps and pretty data visualization.
CSS
<!-- vector map css -->
<link href="{{url_for('static' ,filename='libs/jsvectormap/dist/css/jsvectormap.min.css')}}" rel="stylesheet" type="text/css" />
Javascript
<!-- Vector map-->
<script src="{{url_for('static' ,filename='libs/jsvectormap/dist/js/jsvectormap.min.js')}}"></script>
<script src="{{url_for('static' ,filename='libs/jsvectormap/dist/maps/world-merc.js')}}"></script>
<script src="{{url_for('static' ,filename='libs/jsvectormap/dist/maps/us-merc-en.js')}}"></script>
<script src="{{url_for('static' ,filename='libs/jsvectormap/dist/maps/canada.js')}}"></script>
<script src="{{url_for('static' ,filename='libs/jsvectormap/dist/maps/russia.js')}}"></script>
<script src="{{url_for('static' ,filename='libs/jsvectormap/dist/maps/spain.js')}}"></script>
Initjs (Custom js)
<!-- vector-maps init -->
<script src="{{url_for('static' ,filename='js/pages/vector-maps.init.js')}}"></script>
Add Package
yarn add jsvectormap --save
Remove Package
yarn remove jsvectormap
Or you can remove package by removing specific package from package.json
Examples
Title | Javascript |
---|---|
Markers |
|
World Vector Map with Markers |
|
World Vector Map with Image Markers |
|
USA Vector Map |
|
Canada Vector Map |
|
Russia Vector Map |
|
Spain Vector Map |
|