1

I'm looking for a way to get exactly the same indoor panoramas for businesses Google is showing in [Google maps] (can't add any more links).

What I did:
google.maps.StreetViewService class requires either lng/lat or pano ID, so...

  • convert business address to lng/lat using google.maps.Geocoder (issues occured, see below)
    e.g. Richard-Wagner-Str. 7, 04109 Leipzig, Germany
  • convert business to lng/lat using google.maps.Place (issues occured, see below)
    e.g. Park Hotel, Richard-Wagner-Str. 7, 04109 Leipzig, Germany
  • thanks to this post I found a way to get pano ID for a certain address

Issues:
None of this was working as I hoped for...

  • get indoor panorama by converting business address to lng/lat:
    found resulting panorama to be wrong business at same address (got restaurant, wanted hotel) --- and no, there was no resulting array with multiple entries
  • get indoor panorama by using whole search term with places API:
    got slightly different lng/lat but was outside panorama instead of inside
  • get indoor panorama by pano ID:
    working fine but still was outside panorama

Questions:

  • It must be working. Somehow. Any idea how Google's doing the job? (check with Google maps, review box on the left: using address responds with same outside pano Google shows as well. But how to get corresponding inside pano?)
  • How to make sure a pano is inside, not outside?
  • Quite often, Google offers multiple indoor panos for a certain business. Any suggestions how this may work?
  • documentation of http://developers.google.com/places/place-id#id-overview says, place-id
    "... can be used with Google Maps Javascript API ..."
    Any idea why not working with street view panos?

Many thanks!


Update Making my questions more precise:

  • How do I get same indoor panoramas as Google does?
  • How do I get more than just one panorama per business (as Google does)?
  • Any chance to make street view work with Google Places place_id?
Community
  • 1
  • 1
00willson
  • 21
  • 3
  • 1
    Your question is too broad. Google has implemented [this feature request](https://code.google.com/p/gmaps-api-issues/issues/detail?id=4831) a few weeks ago. Please read through this thread. It has been implemented in the [experimental version](https://developers.google.com/maps/documentation/javascript/3.exp/reference#StreetViewSource) (3.21) of the api. – MrUpsidown Aug 26 '15 at 20:43
  • If I look up [Park Hotel, Richard-Wagner-Str. 7, 04109 Leipzig, Germany with the places API](http://www.geocodezip.com/v3_example_geo2.asp?addr1=Park%20Hotel,%20Richard-Wagner-Str.%207,%2004109%20Leipzig,%20Germany&place=1), I get Lat/Lng (51.343364, 12.378962999999999), if I use that for a StreetView, I get [the interior of the hotel](http://jsfiddle.net/geocodezip/pfp1rd2p/1/). – geocodezip Aug 26 '15 at 23:26
  • @MrUpsidown: already found but it only allows for parameter 'OUTSIDE', not 'INSIDE'. Btw: couldn't it running, get error msg saying sth like 'unknown parameter source: OUTSIDE' – 00willson Aug 27 '15 at 08:46
  • 1
    @geocodezip: as described, you'll get panorama for a restaurant called "SteakTrain" not the desired hotel "Park Hoetl" (which is at the same address). Btw: your example says the same. See location tag left top – 00willson Aug 27 '15 at 08:50
  • @00willson yes I know. That's why I told you to read through the thread. This way you understand what is available and what is not. – MrUpsidown Aug 27 '15 at 10:32

1 Answers1

0

you can use this tool to extract pano ID :)

www.ekreativa.com/pano-id-extract/

stefanue
  • 13
  • 3