Exemple #1
0
 public function testFromDms()
 {
     $point = Point::fromDms([1, 2, 3.45], [0, 6, 9, 'S']);
     $this->assertEquals(1.0342916666667, $point->getLatitude());
     $this->assertEquals(-0.1025, $point->getLongitude());
 }