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 3957278
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:28:14+00:00 2026-05-20T02:28:14+00:00

When streetview is not available for a certain location, I would like to find

  • 0

When streetview is not available for a certain location, I would like to find the nearest possible location with streetview?

The only way I could think of is.

radius = 0;
noOfPoints = 3;

while(radius < 10 miles){

    radius = radius + 0.2 miles
    points = calculate 4 * noOfPoints at this radius

    loop(points)
    {
       if(streetview visibile for point)
          bingo, break;
    }

    break if bingo;

    noOfPOints = noOfPoints+1;

}

But this is ridiculously expensive even if I want to find streetview within a 10-mile radius and I am counting on luck to find streetview at one of these points, i.e, I could just miss an actual point with streetview.

can somebody please direct me towards a better approach??

  • 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-20T02:28:15+00:00Added an answer on May 20, 2026 at 2:28 am

    You can try to use the StreetViewService to help you find a nearest existing street view:

    var astorPlace = new google.maps.LatLng(40.729884, -73.990988);
    var webService = new google.maps.StreetViewService();  
    /**Check in a perimeter of 50 meters**/ 
    var checkaround = 50;
    /** checkNearestStreetView is a valid callback function **/
    
    webService.getPanoramaByLocation(astorPlace,checkaround ,checkNearestStreetView);
    
    function checkNearestStreetView(panoData){
        if(panoData){
    
             if(panoData.location){
    
                if(panoData.location.latLng){
                    /**Well done you can use a nearest existing street view coordinates**/
                }
            }
        }
        /** Else do something... **/
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an API available for grabbing Google Streetview images at a particular location
I'm using streetview as an embed in one of my pages. I'd really like
Ok so my new gig is high performance video (think Google streetview but movies)
I see that Google Maps Streetview is available in Javascript API . And there
I recently came across many sites showing a Google streetview in panoramic mode, like
I would like to develop an application to Samsung Galaxy Beam which has a
I know the mapkit does not support street view but it is possible to
Can I use Google Map's Streetview inside my apps?
I'm working on a DIY google streetview for mountain biking. I was wondering if
I'm trying to make an app that links to Google streetview using latitude/longitude coordinates,

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.