Skip to content

Instantly share code, notes, and snippets.

@chaoky
Last active January 15, 2025 02:17
Show Gist options
  • Select an option

  • Save chaoky/1814644346380065d4e2b10856a173a2 to your computer and use it in GitHub Desktop.

Select an option

Save chaoky/1814644346380065d4e2b10856a173a2 to your computer and use it in GitHub Desktop.
mapsgoogleapis call
[
{
address_components: [
{
long_name: "Atlanta",
short_name: "Atlanta",
types: [
"locality",
"political",
],
},
{
long_name: "Fulton County",
short_name: "Fulton County",
types: [
"administrative_area_level_2",
"political",
],
},
{
long_name: "Georgia",
short_name: "GA",
types: [
"administrative_area_level_1",
"political",
],
},
{
long_name: "United States",
short_name: "US",
types: [
"country",
"political",
],
},
],
formatted_address: "Atlanta, GA, USA",
geometry: {
bounds: {
northeast: {
lat: 33.886823,
lng: -84.2895601,
},
southwest: {
lat: 33.647946,
lng: -84.550854,
},
},
location: {
lat: 33.7501275,
lng: -84.3885209,
},
location_type: "APPROXIMATE",
viewport: {
northeast: {
lat: 33.886823,
lng: -84.2895601,
},
southwest: {
lat: 33.647946,
lng: -84.550854,
},
},
},
navigation_points: [
{
location: {
latitude: 33.7485599,
longitude: -84.38821779999999,
},
},
],
place_id: "ChIJjQmTaV0E9YgRC2MLmS_e_mY",
types: [
"locality",
"political",
],
},
]
[
{
address_components: [
{
long_name: "Seattle",
short_name: "Seattle",
types: [
"locality",
"political",
],
},
{
long_name: "King County",
short_name: "King County",
types: [
"administrative_area_level_2",
"political",
],
},
{
long_name: "Washington",
short_name: "WA",
types: [
"administrative_area_level_1",
"political",
],
},
{
long_name: "United States",
short_name: "US",
types: [
"country",
"political",
],
},
],
formatted_address: "Seattle, WA, USA",
geometry: {
bounds: {
northeast: {
lat: 47.73528,
lng: -122.219822,
},
southwest: {
lat: 47.48215,
lng: -122.4597739,
},
},
location: {
lat: 47.6061389,
lng: -122.3328481,
},
location_type: "APPROXIMATE",
viewport: {
northeast: {
lat: 47.73528,
lng: -122.219822,
},
southwest: {
lat: 47.48215,
lng: -122.4597739,
},
},
},
place_id: "ChIJVTPokywQkFQRmtVEaUZlJRA",
types: [
"locality",
"political",
],
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment