Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a link to Google Streetview based on the Cursor Coordinates #406

Open
Blittr opened this issue Nov 4, 2021 · 8 comments
Open

Create a link to Google Streetview based on the Cursor Coordinates #406

Blittr opened this issue Nov 4, 2021 · 8 comments

Comments

@Blittr
Copy link

Blittr commented Nov 4, 2021

Dear GPXSee team, would it be possible to create a link to Google Streetview based on the cursor coordinates when clicking a certain point on the map? The advantage is that you can easily see via Streetview what that point on the map actually looks like (if available). Because "Show cursor coordinates" is available within GPXSee, creating a link is (I hope) not difficult.

For instance, after clicking on the map at the Banff pedestrian bridge, I will get a link to google streetview based on the coordinates of that point (via right mouse button context menu).

http://maps.google.com/maps?q=&layer=c&cbll=51.172287134280076,-115.56827008724214

Thank you and best regards.

@tumic0
Copy link
Owner

tumic0 commented Nov 4, 2021

Although technically possible, "hard-linking" with some online service like Google street view is out of scope of GPXSee. But you can of course create your own fork with such a feature.

@tumic0 tumic0 closed this as completed Nov 4, 2021
@Blittr
Copy link
Author

Blittr commented Nov 5, 2021

Hi, thank you for your reply. I did not mean a "hard-linking" to Google Streetview. My intention was to show a window with a link to streetview on which you can click yourself. Without clicking, nothing happens. GPXSee can currently show the coordinates of the cursor, but you cannot use this data. I really think this is an improvement because you can get extra information in relation to your gpx file. Namely: what does the environment of my gpx file look like. A satellite view (possible in GPXSee) is less informative than Streetview.

@tumic0
Copy link
Owner

tumic0 commented Nov 6, 2021

By "hard-linking" I mean that there is hardcoded some URL to a (proprietary) service. Such URLs may change/disappear at any time and make the feature in GPXSee broken. A solution could be some configuration-based menu that would allow you to use any custom action (url, command) with the coordinates based on some "actions files" similar to the map files. Something like:

<action>
    <name>Google street view</name>
    <url>http://maps.google.com/maps?layer=c&amp;cbll=$lon,$lat</url>
</action>

But the question is, if it is worth doing it... I will have a look how much work it would take and if more people are interrested in such feature, I will eventually implement it.

@tumic0 tumic0 reopened this Nov 6, 2021
@Blittr
Copy link
Author

Blittr commented Nov 6, 2021

Thank you, that solution would be very nice :-)

@Tux
Copy link

Tux commented Nov 7, 2021

+1, I'd use that too

@Blittr
Copy link
Author

Blittr commented May 2, 2022

Hi Martin, would it be possible to copy the cursor coordinates when right click? Pasting this in Google Street View will also show the landscape of the location. Showing that point of the map is very attractive for investigating the area. For instance: road signs, road surface, the amount of traffic, a view over the landscape. That everything is often impossible to make out from the map only. Thank you and best regards

@tumic0
Copy link
Owner

tumic0 commented May 2, 2022

Coordinates copy is already implemented, use SHIFT + left mouse click.

@Blittr
Copy link
Author

Blittr commented May 4, 2022

Thank you Martin! Apologies, I actually see it in the changelog (7.37). Did not read it properly :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants