Skip to content

Instantly share code, notes, and snippets.

@sheki
Created March 7, 2018 21:41
Show Gist options
  • Save sheki/c894b4a206662990c07ed7b46c74624c to your computer and use it in GitHub Desktop.
Save sheki/c894b4a206662990c07ed7b46c74624c to your computer and use it in GitHub Desktop.
geojson_responses.json
{
"results" : [
{
"address_components" : [
{
"long_name" : "94114",
"short_name" : "94114",
"types" : [ "postal_code" ]
},
{
"long_name" : "San Francisco",
"short_name" : "SF",
"types" : [ "locality", "political" ]
},
{
"long_name" : "San Francisco County",
"short_name" : "San Francisco County",
"types" : [ "administrative_area_level_2", "political" ]
},
{
"long_name" : "California",
"short_name" : "CA",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "United States",
"short_name" : "US",
"types" : [ "country", "political" ]
}
],
"formatted_address" : "San Francisco, CA 94114, USA",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : 37.770452,
"lng" : -122.424923
},
"southwest" : {
"lat" : 37.7466831,
"lng" : -122.453769
}
},
"location" : {
"lat" : 37.7561438,
"lng" : -122.4325682
},
"location_type" : "APPROXIMATE",
"viewport" : {
"northeast" : {
"lat" : 37.770452,
"lng" : -122.424923
},
"southwest" : {
"lat" : 37.7466831,
"lng" : -122.453769
}
}
},
"place_id" : "ChIJ_dA2rgV-j4ARt3snzTZ80Ds",
"types" : [ "postal_code" ]
}
],
"status" : "OK"
}
{
"results" : [
{
"address_components" : [
{
"long_name" : "Dongguan",
"short_name" : "Dongguan",
"types" : [ "locality", "political" ]
},
{
"long_name" : "Guangdong",
"short_name" : "Guangdong",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "China",
"short_name" : "CN",
"types" : [ "country", "political" ]
}
],
"formatted_address" : "Dongguan, Guangdong, China",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : 23.1420505,
"lng" : 114.2603125
},
"southwest" : {
"lat" : 22.6537023,
"lng" : 113.5215419
}
},
"location" : {
"lat" : 23.020673,
"lng" : 113.751799
},
"location_type" : "APPROXIMATE",
"viewport" : {
"northeast" : {
"lat" : 23.2119382,
"lng" : 114.0394592
},
"southwest" : {
"lat" : 22.7404596,
"lng" : 113.5491943
}
}
},
"place_id" : "ChIJ5ROI3ZQKAzQRQ3q8DjAgg3Y",
"types" : [ "locality", "political" ]
}
],
"status" : "OK"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment