Get new jQuery plugins just once a week
July 2, 2012
Vector Maps | jQuery plugin to create dynamic SVG maps
jQuery Vector Maps is a jQuery plugin for rendering vector maps.It uses resizable Scalable Vector Graphics (SVG) for modern browsers like Firefox, Safari, Chrome, Opera and Internet Explorer 9. Legacy support for older versions of Internet Explorer 6-8 is provided via VML.It has got the following main options
- map world_en
- Color of map regions
Colors of individual map regions. Keys of the colors objects are country codes according to ISO 3166-1 alpha-2 standard. Keys of colors must be in lower case.
Whether to Enable Map Zoom ( true or false, defaults to true)
This function can be used to improve results of visualizations for data with non-linear nature. Function gets raw value as the first parameter and should return value which will be used in calculations of color, with which particular region will be painted.
Whether to show Tooltips on Mouseover ( true or false, defaults to true)
onLabelShow function(element, label, code)
Callback function which will be called before label is shown. Label DOM object and country code will be passed to the callback as arguments.
Created by Manifest Interactive
A jQuery plugin for rendering vector maps
Sign up for our weekly newsletter.