dvdoug / PHPCoord

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points

Home Page:https://www.phpcoord.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toWGS84() function

Chunkford opened this issue · comments

Probably a complete noob question so I do apologise but when I do $latLng = $OSRef->toLatLng(); it returns an object, but when I do $latLng = $OSRef->toLatLng()->toWGS84(); it returns NULL

Any pointers greatly appreciated.

Urgh, ignore me. Embarrassing moment alert.
$latLng and $LatLng spot the difference? Yea, I hang my head in shame. Sorry to have bothered you.