text: $(function(){
      $('#visit-by-locate').vectorMap({
          map: 'world_en',
          backgroundColor: 'transparent',
          borderColor: '#818181',
          borderOpacity: 0.25,
          borderWidth: 1,
          color: '#9da1a7',
          enableZoom: true,
          hoverColor: '#6b727e',
          hoverOpacity: null,
          normalizeFunction: 'linear',
          scaleColors: ['#b6d6ff', '#005ace'],
          selectedColor: '#6b727e',
          selectedRegions: null,
          showTooltip: true,
          onRegionClick: function(element, code, region)
          {
              var message = 'You clicked "'
                  + region
                  + '" which has the code: '
                  + code.toUpperCase();
  
              alert(message);
          }
      });
  });