title: Getting country name from jVectormap World Map
body: <p>How i can get name of clicked country from jVectormap?</p>
  
  <p>I using simple code, added alert to show the name of clicked country but doesn't work.</p>
  
  <pre><code>jQuery('#vmap').vectorMap({
      map: 'world_en',
      backgroundColor: '#e9e9e7',
      color: '#dfdfdd',
      hoverOpacity: 0,
      selectedColor: '#5f8b98',
      hoverColor: '#5f8b98',
      enableZoom: true,
      showTooltip: true,
      values: sample_data,
      scaleColors: ['#dfdfdd'],
      onRegionClick: function (event, code) {
      var map = $('#vmap').vectorMap('get', 'mapObject');
      var name = map.getRegionName(code);
      //ADDED ALERT TO SHOW NAME OF CLICKED COUNTRY
      alert(name);
      },
      normalizeFunction: 'polynomial'
  });
  </code></pre>
  
  <p>Here is the documentation of using script:<br>
  <a href="http://jvectormap.com/documentation/javascript-api-v1/jvm-worldmap/" rel="nofollow">http://jvectormap.com/documentation/javascript-api-v1/jvm-worldmap/</a></p>