$pdf->SetFont("Helvetica", "B", 8);
         $pdf->Cell(50, 5, $noofdays, 1, 1, 'C');
         $pdf->SetFont("Arial", "B", 8);
         $pdf->Cell(45, 5, "Last spotted at location:", 1, 0, 'L');
         $pdf->SetFont("Helvetica", "", 8);
         $pdf->Cell(145, 5, $lastaddress, 1, 1, 'C');
         //Address and Google Maps
         $x = $pdf->GetX();
         $y = $pdf->GetY();
         $image = "https://maps.googleapis.com/maps/api/staticmap?center=Hebbal,Bangalore,India&zoom=14&size=600x300&scale=2&markers=color:red%7Clabel:S%7CHebbal+Bangalore+India&format=jpg";
         $pdf->Image($image, $x + 2.5, $y + 2.5, 150, 75, 'JPG');
         $x = $pdf->GetX();
         $y = $pdf->GetY() - 77.5;
         $pdf->SetXY($x, $y);
         $pdf->Cell(190, 80, "  ", 1, 0, 'C');
         $pdf->Ln();
     }
 }
 //Fetch Contact JSON
 $contents = file_get_contents('contact.json');
 $contents = utf8_encode($contents);
 $results = json_decode($contents, true);
 //Contact Person Details
 for ($i = 0; $i < sizeof($results); $i++) {
     if ($results[$i]["uid"] == $uid) {
         $uid = $results[$i]["uid"];
         $cName = $results[$i]["name"];
         $cAddress = $results[$i]["address"];
         $cCity = $results[$i]["city"];
         $cState = $results[$i]["state"];
         $cPhone = $results[$i]["phone"];