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...

(https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fi1300.photobucket.com%2Falbums%2Fag88%2FZeffyboy%2FGMSVhelp_zps417719e3.png&hash=6ae9615c05cf47c93ed863b3bf62bae63c3f4f69)
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
Quote from: 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 .

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
Quote from: Lytton on July 04, 2013, 06:31:06 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
Quote from: NE2 on July 04, 2013, 09:43:42 PM
Quote from: Lytton on July 04, 2013, 06:31:06 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
Quote from: 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 .

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

Quote from: vtk on July 04, 2013, 10:13:59 PM
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
Quote from: CNGL-Leudimin on July 09, 2013, 10:06:06 AM
Quote from: 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 .

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. 

Quote from: CNGL-Leudimin on July 09, 2013, 10:06:06 AM
Quote from: vtk on July 04, 2013, 10:13:59 PM
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
Quote from: CNGL-Leudimin on July 09, 2013, 10:06:06 AM
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
Quote from: kphoger on July 09, 2013, 06:47:16 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
Quote from: CNGL-Leudimin on July 17, 2013, 08:15:09 AMIn 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
Quote from: agentsteel53 on July 17, 2013, 01:31:40 PM
Quote from: kphoger on July 09, 2013, 06:47:16 PM
No te preocupes, vato,,,  :sombrero:

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

Quote from: CNGL-Leudimin on July 17, 2013, 03:57:27 PM
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
Quote from: english si on July 17, 2013, 06:10:12 PM
Quote from: CNGL-Leudimin on July 17, 2013, 08:15:09 AMIn 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
Quote from: Laura Bianca 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.
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: 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: hotdogPi 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

(https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fmaps.googleapis.com%2Fmaps%2Fapi%2Fstreetview%3Fsize%3D200x200%26amp%3Blocation%3D40.720032%2C-73.988354%26amp%3Bheading%3D280%26amp%3Bsensor%3Dfalse&hash=d1e1fbe1585ad947a7f2e89df2faefb3288e580c)

"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
Quote from: 1 on December 28, 2013, 08:52:02 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
Quote from: 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.

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.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: RM42 on May 12, 2023, 06:01:41 PM
It's funny reading this ancient thread in 2023 when you just need to copy from the URL bar nowadays!
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: pderocco on June 05, 2023, 11:08:09 PM
Quote from: RM42 on May 12, 2023, 06:01:41 PM
It's funny reading this ancient thread in 2023 when you just need to copy from the URL bar nowadays!

Or better yet, use Share or Embed, and get a link that actually fits in an email without wrapping.
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: CNGL-Leudimin on June 06, 2023, 03:12:50 PM
The change happened shortly after this thread was created. I personally copy the long URL because most of the time it ends up  wrapping some other text (https://www.google.com/maps/@42.2590719,-88.8428514,3a,75y,325.71h,91.46t/data=!3m7!1e1!3m5!1srzG5wxbIzFKVDO0VrbaLRQ!2e0!6shttps:%2F%2Fstreetviewpixels-pa.googleapis.com%2Fv1%2Fthumbnail%3Fpanoid%3DrzG5wxbIzFKVDO0VrbaLRQ%26cb_client%3Dmaps_sv.tactile.gps%26w%3D203%26h%3D100%26yaw%3D54.854427%26pitch%3D0%26thumbfov%3D100!7i16384!8i8192). (Belvidere, Illinois)
Title: Re: How do you get the URL of a particular place on Google Street View?
Post by: hotdogPi on June 06, 2023, 03:26:34 PM
Unpin, then?