Hi, I recently posted JQVmap from Github, and I am making a site like the old Carmen Sandiego game. I saw on some sites that use this map that they have country labels on hover. I read as far as I know how to do this in the files I received from the JQVmap github site, but without success.
Thanks ... I'm not sure if this is the correct code to enter, but here goes
jQuery(document).ready(function() {
jQuery('#vmap').vectorMap({
map: 'world_en',
backgroundColor: '#333333',
color: '#ffffff',
hoverOpacity: 0.7,
selectedColor: '#666666',
enableZoom: true,
showTooltip: true,
values: sample_data,
scaleColors: ['#a12200', '#343bbb'],
normalizeFunction: 'polynomial',
});
});
thank
source
share