
// function load_map_in_map_holder(){
//          var data_type=$('#id').val();
//          var district_info=$('#gwm_district').val();
//         // var data_type = document.getElementById('id').value;
//         // var district_info = document.getElementById('gwm_district').value;
//         var datastr= 'id='+data_type+'&district_info='+district_info;
//         alert(datastr);
//        $.ajax({
//                 url:'module/ground_water_ex/gwm_map_by_disrict.php',
//                 type:'get',
//                 data:datastr,
//                 success:function(data){
//                 //alert(data);
//                 $('#gwm_map_holder').html(data);
//                 }
//         }); 
//         // updateMapWithSelectedValues(data_type, district_info);
// }
function load_map_in_map_holder() {
        var data_type = document.getElementById('id').value;
        var district_info = document.getElementById('gwm_district').value;
        var datastr = 'id=' + data_type + '&district_info=' + district_info;
        // alert(datastr);
        $.ajax({
            url: 'module/ground_water_ex/gwm_map_by_disrict.php',
            type: 'get',
            data: datastr,
            success: function (data) {
                // alert(data)
                $('#gwm_map_holder').html(data);
                // Call a function here to handle the map update based on the selected value
               // updateMapWithSelectedValues(data_type);
               show_ground_water_mapinfo(data_type);
            }
        });
    }