Skip to content

Instantly share code, notes, and snippets.

@maesa
maesa / Googlegeocoder.php
Created May 4, 2014 11:44
Simple geocoding CodeIgniter library using Google Maps API v3
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class GoogleGeocoder
{
public function __construct()
{
$this->baseURL = "https://maps.google.com/maps/api/geocode/json?sensor=false";
}
public function geocode($address)