Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xandeadx’s picture

FileSize
73.93 KB

What is "streetview link"? Maybe this is it:

bisonbleu’s picture

Yes, that's Streetview. But dragging & dropping the icon on the marker is not very intuitive or friendly. A simple link is better I think. Here's how Google does it. Link appears just below the image. The disadvantage is that by clicking the link you loose the balloon context.

The next captures are from padmapper.com. I call it balloon on steroids. The use case is "user looking for an apartment or place to stay". The advantage of this UI is that the balloon context is not lost - much better UX.

xandeadx’s picture

I have no idea how it's done

bisonbleu’s picture

Found this link. Will look at it and report on what I find.

bisonbleu’s picture

Title: Wondering how to add a streetview link » Wondering how to add Google Street View link
FileSize
22.65 KB

Building a Street View URL seems pretty straight forward.

It's a simple Google api URL which takes 6 parameters:

  1. size of photo (in pixels)
  2. location: longitude, latitude
  3. fov: field of view (default is 90)
  4. heading: compass heading of the camera (0-360)
  5. pitch: vertical angle of the camera (-90 to 90)
  6. sensor: indicates if request came from a GPS (true or false)

The tricky part is how to extract or access this information from Google.
Here is the Street View link for the Arc de Triomphe in Paris.

http://maps.googleapis.com/maps/api/streetview?size=400x400&location=48....

bisonbleu’s picture

Found a better link. Street View Service. It includes the following subjects:

Overview
Street View Map Usage
Street View Panoramas
Street View Containers
Street View Locations
Street View Points of View (POV)
Overlays within Street View
Street View Events
Customizing Street View Controls
Directly Accessing Street View Data
Providing Custom StreetView Panoramas
Creating Custom Panoramas
Creating Custom Panorama Tiles
Handling Custom Panorama Requests