KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux p3plzcpnl507073.prod.phx3.secureserver.net 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : swg98tjyzel1 ( 5098476)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /home/swg98tjyzel1/public_html/bityatra.com/siteadmin/assets/js/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/swg98tjyzel1/public_html/bityatra.com/siteadmin/assets/js/scripts/jvectormap-demo.js
$(function(){

    var mapData = {
        "US": 298,
        "SA": 200,
        "DE": 220,
        "FR": 540,
        "CN": 120,
        "AU": 760,
        "BR": 550,
        "IN": 200,
        "GB": 120,
    };
    
    /*$('#world_map').vectorMap({
        map: 'world_mill_en',
        backgroundColor: 'transparent',
        regionStyle: {
            initial: {
                fill: '#DADDE0',
            }
        },

        series: {
            regions: [{
                values: mapData,
                scale: ["#18C5A9"],
                normalizeFunction: 'polynomial'
            }]
        },
        onRegionTipShow: function(e, el, code){
            el.html(el.html()+' (Visits - '+mapData[code]+')');
        }
    });*/
            $('#world_map').vectorMap({
              map: 'world_mill_en',
              backgroundColor: 'transparent',
              regionStyle      : {
                  initial: {
                    fill            : '#e4e4e4',
                    'fill-opacity'  : 1,
                    stroke          : 'none',
                    'stroke-width'  : 0,
                    'stroke-opacity': 1
                  }
              },
              series: {
                regions: [{
                  values: mapData,
                  scale: ['#C8EEFF', '#0071A4'],
                  normalizeFunction: 'polynomial'
                }]
              },
              hoverOpacity: 0.7,
              hoverColor: false
            });

    var mapUsaData = {
        'US-VA': 120,
        'US-MT': 210,
        'US-TX': 251,
        'US-NY': 455,
        'US-FL': 308,
        'US-CA': 704,
        'US-NE': 408,
    }

    $('#usa_map').vectorMap({
        map: 'us_aea_en',
        backgroundColor: 'transparent',
        regionStyle: {
            initial: {
                fill: '#DADDE0',
            }
        },

        series: {
            regions: [{
                values: mapUsaData,
                scale: ["#18C5A9"],
                normalizeFunction: 'polynomial'
            }]
        },
        onRegionTipShow: function(e, el, code){
            el.html(el.html()+' (Visits - '+mapUsaData[code]+')');
        }
    });

});

TitusBoTz-MD - 2021