Skip to content

Instantly share code, notes, and snippets.

@euskadi31
Created January 23, 2012 20:55
Show Gist options
  • Save euskadi31/53cd3126ba519be702d5 to your computer and use it in GitHub Desktop.
Save euskadi31/53cd3126ba519be702d5 to your computer and use it in GitHub Desktop.
Array
(
[address_components] => Array
(
[0] => Array
(
[long_name] => Toulouse
[short_name] => Toulouse
[types] => Array
(
[0] => locality
[1] => political
)
)
[1] => Array
(
[long_name] => Haute-Garonne
[short_name] => 31
[types] => Array
(
[0] => administrative_area_level_2
[1] => political
)
)
[2] => Array
(
[long_name] => Midi-Pyrénées
[short_name] => Midi-Pyrénées
[types] => Array
(
[0] => administrative_area_level_1
[1] => political
)
)
[3] => Array
(
[long_name] => France
[short_name] => FR
[types] => Array
(
[0] => country
[1] => political
)
)
)
[formatted_address] => Toulouse, France
[geometry] => Array
(
[bounds] => Array
(
[northeast] => Array
(
[lat] => 43.668692
[lng] => 1.515354
)
[southwest] => Array
(
[lat] => 43.532708
[lng] => 1.350328
)
)
[location] => Array
(
[lat] => 43.604652
[lng] => 1.444209
)
[location_type] => APPROXIMATE
[viewport] => Array
(
[northeast] => Array
(
[lat] => 43.6692547
[lng] => 1.5722684
)
[southwest] => Array
(
[lat] => 43.5399799
[lng] => 1.3161496
)
)
)
[types] => Array
(
[0] => locality
[1] => political
)
)
Geocoder\Result\Geocoded Object
(
[latitude:protected] => 43.604652
[longitude:protected] => 1.444209
[bounds:protected] => Array
(
[south] => 43.532708
[west] => 1.350328
[north] => 43.668692
[east] => 1.515354
)
[streetNumber:protected] =>
[streetName:protected] =>
[city:protected] => Toulouse
[zipcode:protected] =>
[county:protected] => Haute-Garonne
[region:protected] => Midi-Pyr?n?es
[country:protected] => France
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment