/SilverStripe-Geocoder

Geocoding Class for SIlverStripe

Primary LanguagePHP

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