title: How calculate bearing between latitudes and longitudes with 1 point
body: <p>I have a formula bearing with php function : </p>
  
  <pre><code>function bearing($lat1, $long1, $lat2, $long2){
  
  $bearingradians = atan2(asin($long1-$long2)*cos($lat2),
  cos($lat1)*sin($lat2) - sin($lat1)*cos($lat2)*cos($long1-$long2));
  $bearingdegrees = rad2deg($bearing);
  
  return $bearingdegrees
  }
  </code></pre>
  
  <p>with 
  $Long1     = 106.0543333, </p>
  
  <p>$Lat1      = -5.8836667</p>
  
  <p>I'm confused, how do I get $Lat2 &amp; $Long2? so that I can enter into the formula.</p>