Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5930883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:36:56+00:00 2026-05-22T14:36:56+00:00

I have been trying out Google’s new Places API. It’s Places Search returns a

  • 0

I have been trying out Google’s new Places API. It’s “Places Search” returns a list of places close to the latitude/longitude you provide. Each of the results has its actual lat/lang, and some also have “viewports”, which are supposed to be the bounding boxes of larger places like stadiums and malls. However, inspecting the viewports on the map, they are way too big. For example, here is a query (it won’t work because it doesn’t have a real key):

https://maps.googleapis.com/maps/api/place/search/json?location=47.5932,-122.3318&radius=300&sensor=false&key=FOO

Here is part of the result JSON:

{
  "status": "OK",
  "results": [ {
    "name": "Qwest Field",
    "vicinity": "Occidental Ave S, Seattle",
    "types": [ "stadium", "establishment" ],
    "geometry": {
      "location": {
        "lat": 47.5959329,
        "lng": -122.3317095
      },
      "viewport": {
        "southwest": {
          "lat": 47.5884079,
          "lng": -122.3477169
        },
        "northeast": {
          "lat": 47.6034568,
          "lng": -122.3157021
        }
      }
    },
    "icon": "http://maps.gstatic.com/mapfiles/place_api/icons/stadium-71.png",
    "reference": "CnRrAAAAwM6Pr_ER4VDFNlwg4_JrMxG9FGaqAXokpQXGot9OqzylWRX_NIPsptuMoIeHej9GUDp5otUTQifL-kyP5l0AM5u93PTV22U7-Xz-y_dHuWAjetviEBlo24JIGgWcnuExlE1FBh2FKkNzCdpyUdv7PRIQodCSeacFJtrl8ZkZ1wvfvxoUFCIvCrbknO6tEl3EewS1wrjl06M",
    "id": "d4fd94323d3f462730123ac2c5eb91d0180bb819"
  },
...

If you look at the lat/langs for the two corners, they are way apart.

I tried a few other places and they all had this problem. Has anybody noticed the same issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:36:58+00:00Added an answer on May 22, 2026 at 2:36 pm

    The ‘viewport’ property does not represent the bounding box of the place. It represents the recommended map view to use when displaying this place on a Google map. For large features, such as a state or a city it may approximate to the bounds of the feature, but for small features there is a minimum size (~500m across) that is returned, so that the map shows a wide enough area around the feature for a user to understand the location of the place in context.

    Hope that helps,

    Thor.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to figure this out, but google wasn't turning up any
I've been trying to work with the Google Calendar JSON API, but have been
I have been trying out the MoreLikeThis Bundle to bring back a set of
I have been trying out Cassandra and need some help in understanding a few
I have been trying to figure out why I am getting this problem and
I have been trying to figure out how to read paragraph content which exists
I have been trying to figure out how to open a file from the
I have been trying to mock out a using with a file stream but
I have been trying to find out how game engines deal with asset compression.
I have been trying to find out why the following lines of code do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.