Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 337 Bytes

readme.md

File metadata and controls

12 lines (11 loc) · 337 Bytes

SilverStripe Google GeoCoder Class

This is a simple class to speed up Geocoding on DataObjects.

On your DataObject you can call

Geocoder::Geocode($address);

The function will return an the folioing array

$array = array("Lat" => "The Latitude", "Lon" => "The Longitude");

Errors will be emailed to the Site Admin