WebAppers

/ best free open source web resources /

Shopify

Show Vector Maps with jVectorMap jQuery Plugin

Posted · Category: Maps, MIT License

jVectorMap is a jQuery plugin employed to show vector maps and visualize data on HTML pages. It uses SVG in all modern browsers like Firefox 3 or 4, Safari, Chrome, Opera, IE9, while legacy support for older versions of IE from 6 to 8 is provided with VML.

Using jVectorMap is pretty simple. All you need is to include JavaScript and CSS files. While initializing map you can  also provide parameters to change its look and feel easily.

vector-map

Requirements: jQuery Framework
Demo: http://jvectormap.owl-hollow.net/
License: MIT License

8 Comments
  • supert

    Guys…I’m trying to run this code by using the below but I can’t get it to work. Can you help me out?

    This is my script:

    Test

    $(function(){
    $(‘#map’).vectorMap();
    });

  • pascal

    it looks great. We all one day need a good open source mapping library, hope they will build up their region mapping!

  • sandeep

    @supert
    use this div statement in your html and it will display world map on ur page

  • scott

    Can anyone point me in the right direction? I would like to create a callback script that would display the contents of a hidden div for each state that is clicked. This should be simple, but I’m a noob.

  • Testing-G

    @scott me too i search that !

    can anyone help me ?

  • Jccp

    @supert did you get it to work? and @sandeep what div.. you dont have a div there

  • Peter Schmalfeldt

    There is also http://jqvmap.com that uses resizable SVG with fallback VML for older browsers like IE 6. I like this one since you can customize the colors and sizes pretty easily. Super configurable.

  • Peter Schmalfeldt

    There is also http://jqvmap.com that uses resizable SVG with fallback VML for older browsers like IE 6. I like this one since you can customize the colors and sizes pretty easily. Super configurable.

Supported By

Deals

Web Browsers Icon Set
Food Icon Set
Flat Icon Set

Flat Icon Set

100 icons