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::asset('build/libs/jsvectormap/css/jsvectormap.min.css') }} " rel="stylesheet" type="text/css" />
Javascript
<!-- Vector map-->
<script src="{{ URL::asset('build/libs/jsvectormap/js/jsvectormap.min.js') }} "></script>
<script src="{{ URL::asset('build/libs/jsvectormap/maps/world-merc.js') }} "></script>
<script src="{{ URL::asset('build/libs/jsvectormap/maps/us-merc-en.js') }} "></script>
<script src="{{ URL::asset('build/libs/jsvectormap/maps/canada.js') }} "></script>
<script src="{{ URL::asset('build/libs/jsvectormap/maps/russia.js') }} "></script>
<script src="{{ URL::asset('build/libs/jsvectormap/maps/spain.js') }} "></script>
Initjs (Custom js)
<!-- vector-maps init -->
<script src="{{ URL::asset('build/js/pages/vector-maps.init.js') }}"></script>
Add Package
npm i jsvectormap --save
Remove Package
npm unistall 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 |
|