Skip to content

Commit

Permalink
Fix namespace in sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Aug 14, 2020
1 parent 4018aa8 commit 1c87d29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ and longitude.
Usage
-----
```php
namespace PHPCoord;

$OSRef = new OSRef(500000, 200000); //Easting, Northing
$LatLng = $OSRef->toLatLng();
$GPSLatLng = $LatLng->toWGS84(); //optional, for GPS compatibility
Expand Down

0 comments on commit 1c87d29

Please sign in to comment.