openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.35k stars 1.2k forks source link

Add support to show Mapillary/OSC imagery in separate window #7975

Open Jakuje opened 4 years ago

Jakuje commented 4 years ago

I often struggle to use mapillary images as they are really small, I have to zoom through them all the time and move around. If I would like to see them larger, it is against the size of the map that I am editing.

I have two screens so it would be very handy to move the image to the second display (probably in separate window) to use the space better.

quincylvania commented 4 years ago

Welcome, @Jakuje. Have you used the external links in the photo viewer? These open the images in a separate window. You can also drag the sides of the viewer to make it larger.

Screen Shot 2020-09-28 at 4 46 29 PM
Jakuje commented 4 years ago

Hi. I know that the viewer can be stretched, but it is always at the expense of the map, which I am editing. If I fill one third of the screen with the image, one third of the screen with side panels (yes, they can be hidden but it is quite inconvenient), the map is very small with very bad ratio to orient in and edit.

Opening in bing maps is I think only for the streetside imagery. Indeed mapillary has also its permalinks that can be opened in new window, but they would not follow the map I edit -- I would have to move on the mapillary map on the second screen while comparing where it should fit in the map I am editing, which is very inconvenient.

quincylvania commented 4 years ago

@Jakuje Hmm okay, I agree it'd be nice to pop stuff like this out into a separate window, but this isn't really a common pattern in web apps. We'd have to think about the user experience and if this is even possible.

Jakuje commented 4 years ago

Technically, it is possible to open a new browser window and talk with it from the main one (or get updates from there). Lets take google slides for example, where you open slides in new window for presenting and then open a separate speaker notes window, where slides are changing synchronously.

quincylvania commented 4 years ago

Technically, it is possible to open a new browser window and talk with it from the main one

@Jakuje Yes, but iD is embedded in an iframe on osm.org, so I'm not sure about that dynamic. Browsers can also be cagey about how they handle popup windows.