AARoads Forum

National Boards => General Highway Talk => Topic started by: J Route Z on July 04, 2013, 03:10:07 PM

Title: How do you get the URL of a particular place on Google Street View?
Post by: J Route Z on July 04, 2013, 03:10:07 PM
If I want to pinpoint a certain location on Street view, how do I retrieve that long link? All I get is this, which doesn't help : https://maps.google.com/maps?hl=en .
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: Zeffy on July 04, 2013, 03:37:16 PM
Click the button on the left that looks like a chainlink. Then you can either copy that link in the textbox, or you can hit "Short URL" which will do the same thing except make the URL considerably smaller and easier to type.

Here's an image if you don't know which button I'm talking about...

(http://i1300.photobucket.com/albums/ag88/Zeffyboy/GMSVhelp_zps417719e3.png)
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: vtk on July 04, 2013, 06:11:21 PM
If you have entered a search query, make sure you remove the resulting marker from the map before you generate a link, or many mobile users will see that search result instead of the map view or streetview perspective you meant to share.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: Lytton on July 04, 2013, 06:31:06 PM
If I want to pinpoint a certain location on Street view, how do I retrieve that long link? All I get is this, which doesn't help : https://maps.google.com/maps?hl=en .

Step 1. Put the pegman anywhere on the spot you want to share.

Step 2. Click on the chain button (the share button)

Step 3. The link will be generated, and use the short link in order to avoid annoying other users.

Step 4. You might not copy with the drop-down. If it persists, outline the entire link and press the keys CTRL + C.

Step 5. Post it along with the thread in order to use street view in a certain spot.

Hope it helps!
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: theline on July 04, 2013, 07:59:26 PM
Step 6. Click the Preview button before clicking Post, and click the link in the preview window, to make sure you really got what you wanted.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: NE2 on July 04, 2013, 09:43:42 PM
Step 3. The link will be generated, and use the long link so other users know it's a street view image and will take longer to load than a typical map.
Fixed for you.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: vtk on July 04, 2013, 10:13:59 PM
Step 3. The link will be generated, and use the long link so other users know it's a street view image and will take longer to load than a typical map.
Fixed for you.

Also, the query string can be surgically removed from the long URL if necessary.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: J Route Z on July 05, 2013, 04:40:48 PM
Thank you all very much. All of that helps!!!
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: CNGL-Leudimin on July 09, 2013, 10:06:06 AM
If I want to pinpoint a certain location on Street view, how do I retrieve that long link? All I get is this, which doesn't help : https://maps.google.com/maps?hl=en .

If I copy the URL from the bar, I get https://maps.google.es/maps?hl=es&tab=wl :sombrero:.

Also, the query string can be surgically removed from the long URL if necessary.

And the "hl=xx" can be removed too. I do that because otherwise Google Maps will always display in Spanish, and this is an (American) English-speaking forum. Doing that will display Google Maps in the language one has set for Google, regardless of the domain.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: vtk on July 09, 2013, 10:39:16 AM
If I want to pinpoint a certain location on Street view, how do I retrieve that long link? All I get is this, which doesn't help : https://maps.google.com/maps?hl=en .

If I copy the URL from the bar, I get https://maps.google.es/maps?hl=es&tab=wl :sombrero:.

That's why you copy the link URL from the little chainlink icon and not the browser's URL bar. 

Also, the query string can be surgically removed from the long URL if necessary.

And the "hl=xx" can be removed too. I do that because otherwise Google Maps will always display in Spanish, and this is an (American) English-speaking forum. Doing that will display Google Maps in the language one has set for Google, regardless of the domain.

I was wondering what that bit was.  I suppose if it's hl=en then it's maybe okay to leave it there, since this is an anglophone forum?
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: kphoger on July 09, 2013, 06:47:16 PM
otherwise Google Maps will always display in Spanish

No te preocupes, vato,,,  :sombrero:
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: Duke87 on July 16, 2013, 10:29:27 PM
Something else worth addressing here: if you are using a foreign mirror of Google maps (google.ca, google.co.uk, etc.), your link will result in a redirect to the Google homepage for American viewers. This is easily addressed on our end if the long URL link is used: you just have to modify the link slightly to go to the google.com domain and follow the US format. 

However, if as a foreign user you choose the short URL option, you create considerable problems for us because your short link will redirect to the foreign long link, which will in turn will then quickly redirect to google.com home. When confronted with this the only way for me to get the link to work is to quickly highlight and copy the long link in the second it shows up in my URL bar between redirects, and then paste it back and modify it appropriately. This usually takes me several attempts to pull off successfully and I consider myself quick. People who didn't grow up playing video games will probably have even more trouble with it.

So, please: if you are located in a country other than the US, do not use the short link option!

(I don't know if the same problem is true of US links in other countries - anyone located elsewhere care to confirm?)
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: CNGL-Leudimin on July 17, 2013, 08:15:09 AM
In my case, I have opened Google Maps links pointing to .ch, .it, .si, etc mirrors and didn't redirect to google.es homepage. So that problem doesn't exist in Spain, apparently.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: agentsteel53 on July 17, 2013, 01:31:40 PM
No te preocupes, vato,,,  :sombrero:

is vato even Spanish slang?  I thought it was just northern Mexico.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: CNGL-Leudimin on July 17, 2013, 03:57:27 PM
Nope. I didn't knew it until kphoger used that word.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: english si on July 17, 2013, 06:10:12 PM
In my case, I have opened Google Maps links pointing to .ch, .it, .si, etc mirrors and didn't redirect to google.es homepage. So that problem doesn't exist in Spain, apparently.
Yep, all works for me too. even .com. Sounds like either a bug, or a deliberate 'improvement'...

I'd feedback Duke - say that it is racist that links from other countries aren't considered worth seeing and they might actually do something!
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: kphoger on July 18, 2013, 02:08:55 PM
No te preocupes, vato,,,  :sombrero:

is vato even Spanish slang?  I thought it was just northern Mexico.

Nope. I didn't knew it until kphoger used that word.

Yeah, sorry about that.  I seem to recall using the word specifically because it was Mexican, just for kicks.  I actually have no idea what slang terms Castilian Spanish has for "bro", "dude", "buddy", or whatever.  And I didn't want to risk offending you by using "wey" (http://www.urbandictionary.com/define.php?term=wey).
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: Duke87 on July 18, 2013, 11:41:00 PM
In my case, I have opened Google Maps links pointing to .ch, .it, .si, etc mirrors and didn't redirect to google.es homepage. So that problem doesn't exist in Spain, apparently.
Yep, all works for me too. even .com. Sounds like either a bug, or a deliberate 'improvement'...

Actually, nevermind, I just figured out the problem: I'm using NoScript and while I have google.com whiteisted I do not have the foreign TLD versions of the site whitelisted. It isn't a Google/US problem, the page was just choking because I had the javascript blocked.

As you were, then...
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: Laura on November 21, 2013, 07:29:35 PM
Good news: In the NEW and IMPROVED google maps, the URL automatically updates itself in the URL/search bar as you move and zoom around, making it a gajillion times easier to link to places.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: NE2 on November 21, 2013, 07:37:57 PM
Good news: In the NEW and IMPROVED google maps, the URL automatically updates itself in the URL/search bar as you move and zoom around, making it a gajillion times easier to link to places.
Not happening here (latest Firefox).
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: vtk on November 21, 2013, 07:57:24 PM
Maybe it makes a difference whether you're using the JavaScript version or the Flash version of Street View
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: NE2 on November 21, 2013, 08:27:31 PM
Maybe I wasn't using Street View at all?
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: formulanone on November 21, 2013, 08:33:10 PM
If you want to embed a Google Maps image, try this between [ img ] tags:

http://maps.google.com/maps/api/staticmap?center=xx.xxxxxx,-yy.yyyyyy&size=640x400&zoom=17&maptype=hybrid&sensor=false

- you don't have to use precision up to six digits with the coordinates.
- size is "width x height" in pixels (seems to top out at 640px by 400px)
- zoom: higher number as you get closer to the ground (1=world map projection, 12=city level, 17=street level)
- maptype: hybrid, satellite, terrain, (leaving this off gives you a "standard" map)
- sensor: true or false (doesn't seem to make a difference?) but it must be included

(http://maps.google.com/maps/api/staticmap?center=26.076925,-80.16752&size=800x400&zoom=17&maptype=hybrid&sensor=false)

(http://maps.google.com/maps/api/staticmap?center=26.076925,-80.16752&size=800x400&zoom=12&maptype=terrain&sensor=false)
Hope this is helpful to everyone!
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: NE2 on November 22, 2013, 12:39:15 AM
Oh wait, there's a "new Google Maps" on the left. My mind simply ignored that as an ad.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: empirestate on November 22, 2013, 08:47:05 AM
This question doesn't seem to be one of them, but many of the shortcomings of StreetView in the new version of Google Maps seem to have been recently addressed in a major update. Specifically, you can now drag Pegman around to the blue highlights from within the StreetView mode...but yeah, I still don't see where you can grab the URL easily, particularly the handy short URL.

(My Places also seems to have returned, which I'm happy about.)
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: 1 on December 28, 2013, 08:52:02 AM
Street view: http://maps.googleapis.com/maps/api/streetview?size=200x200&location=40.720032,-73.988354&heading=235&sensor=false

(http://maps.googleapis.com/maps/api/streetview?size=200x200&location=40.720032,-73.988354&heading=280&sensor=false)

"Heading" refers to the direction you are facing.



Maybe add Google Street View as a button where bold, italics, and the other things are?
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: vtk on December 29, 2013, 12:51:48 AM
Maybe add Google Street View as a button where bold, italics, and the other things are?

That would require modification of the forum software.  The mods don't seem particularly interested in making custom enhancements to the software just for this forum, so it would have to be a contribution to the SMF project itself.

This is entirely possible, but would require someone with experience in PHP (like me) and working in open-source projects (not so much me) and who has a good bit of free time (not me).

Also, better than simply generating a url to a static image, theoretically a modification to the software can make it possible and easy to embed pannable, zoomable Google maps and Street View scenes, hopefully without opening the can of worms that comes with allowing arbitrary iframes.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: billtm on May 31, 2014, 01:35:33 PM
Does anyone know how to get the URL of a street view image using the Google maps app? :hmmm:
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: Duke87 on September 03, 2014, 12:41:22 AM
I don't think you can since the app operates independently of your browser and doesn't ever display any URLs. But you can try using the browser on your phone to navigate to Google Maps instead.

On that note, it's very easy to link to Street View or anything in the "New" Google Maps: just copy the URL out of the address bar. Notice how it changes every time you move the view?
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: vtk on September 03, 2014, 04:15:34 PM
I don't think you can since the app operates independently of your browser and doesn't ever display any URLs.

This doesn't prevent the app developers from adding a button for sharing a link to the current view.  Google Earth for desktop Windows has a feature like that.