Skip to content

Instantly share code, notes, and snippets.

@ChelseaLura
ChelseaLura / placesObject
Created May 23, 2014 22:26
PlacesObject
Places (name, geometry, icon, id, address, photos[], rating, reference, types[], googlePlaceUrl, website) {
this.name = name;
this.geometry = geometry;
this.icon = icon;
this.id = id;
this.address = address;
this.photos[] = photos[];
this.rating = rating;
this.reference = reference;
@ChelseaLura
ChelseaLura / google maps places json example
Created May 23, 2014 21:18
google maps places json example
{
"html_attributions" : [
"Listings by \u003ca href=\"http://www.yellowpages.com.au/\"\u003eYellow Pages\u003c/a\u003e"
],
"results" : [
{
"formatted_address" : "529 Kent Street, Sydney NSW, Australia",
"geometry" : {