javascript - jqvmap tooltip not working -


jqvmap tooltip not working. else working fine. code given below.

$(document).ready(function(){          // world map jvectormap         $('#world-map').vectormap({           map              : 'world_mill_en',           backgroundcolor  : 'transparent',           regionstyle      : {             initial: {               fill            : '#e4e4e4',               'fill-opacity'  : 1,               'stroke-opacity': 1             }           },           series           : {             regions: [               {                 values           : visitorsdata,                 scale            : ['#92c1dc', '#ebf4f9'],                 normalizefunction: 'polynomial'               }             ]           },           onregionlabelshow: function (e, el, code) {              if (typeof visitorsdata[code] != 'undefined')               el.html(el.html() + ': ' + visitorsdata[code] + ' new  visitors');           }         });     }); 

you may forgot add css. check css file in dist folder may forgot include. after adding styles, zoom controls , tooltips appeare.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -