var handleRenderMap=function(){var e,o,r;return function(){e||(e=$("#jvectorMap").vectorMap({map:"world_mill",normalizeFunction:"polynomial",hoverOpacity:.5,hoverColor:!0,zoomOnScroll:!0,backgroundColor:"transparent",markers:userLocations,series:{regions:[{values:countryData,scale:[app.color.gray200,app.color.theme],normalizeFunction:"polynomial"}],markers:[{attribute:"fill",scale:[app.color.gray200,app.color.theme],normalizeFunction:"polynomial",values:[1,5,10,20,30,40,50],legend:{vertical:!0,title:"USER COUNT",labelRender:function(e){return e}}}]},regionStyle:o,markerStyle:r,focusOn:{x:.5,y:.5,scale:1},onRegionTipShow:function(e,o,r){r=countryData[r]||0;o.html(o.html()+" ("+r+" users)")}}).vectorMap("get","mapObject"),o={initial:{fill:app.color.white,"fill-opacity":.35,stroke:"none","stroke-width":.4,"stroke-opacity":1},hover:{"fill-opacity":.5}},r={initial:{fill:app.color.theme,stroke:"none","stroke-width":1.5}})}}();$(document).ready(function(){handleRenderMap(),document.addEventListener("theme-reload",function(){$("#jvectorMap").empty(),handleRenderMap()})});
//# sourceMappingURL=dashboard-jvectormap.js.map
