הלוגו של OpenStreetMap OpenStreetMap

The OSM website now has a context menu (right-click menu)!

פורסם על־ידי mcld ב־18 בפברואר 2017 בEnglish.

It gives me great pleasure to announce that the OpenStreetMap website now has a context menu! Also known as a right-click menu:

Context menu in action

You might not think this is big news, but I do. A few people asked for this feature in the past, and eventually I proposed some code for it. It took 18 months for the proposal to be merged into the website codebase - why? Primarily because OSM is built and run by volunteers with limited time, but also because my Javascript skills weren’t quite up to adding the important polish and tests that are needed for production-ready code. A million thanks to Tom Hughes for improving my not-quite-finished proposal, and for all the feedback that helped me understand how to do things right.

סמל דוא״ל סמל בלוסקיי סמל פייסבוק סמל לינקדאין סמל מסטודון סמל טלגרם סמל X

דיון

תגובה מאת DaCor על 18 בפברואר 2017 בשעה 19:47

Nice work!

תגובה מאת Zsul על 18 בפברואר 2017 בשעה 23:20

Thanks! I was always struggling with route planning. I had to find a named object near the origin and an other one near destination, type the names and hoped it finds the right places. Now I can just point and click. It is much more straightforward.

תגובה מאת Guest One על 18 בפברואר 2017 בשעה 23:30

Great! Thanks!

תגובה מאת Stalfur על 19 בפברואר 2017 בשעה 02:18

Excellent work. Now how do I mark a particular tile dirty? Before I could do Open image in a new tab and mark it…

תגובה מאת Minh Nguyen על 19 בפברואר 2017 בשעה 04:29

I had to find a named object near the origin and an other one near destination, type the names and hoped it finds the right places.

Note that you can also drag the green and red pins next to the To and From boxes to the route’s start and destination. This context menu is more convenient, of course – thanks for this improvement, mcld!

Now how do I mark a particular tile dirty? Before I could do Open image in a new tab and mark it…

In Firefox, you can go to Tools ‣ Page Info, switch to the Media tab, and look for the tile you want to dirty. You can also use this tool to determine the coordinates to insert in http://c.tile.openstreetmap.org/{z}/{x}/{y}.png/dirty. See this article for more details on tile URLs.

תגובה מאת mcld על 19 בפברואר 2017 בשעה 10:13

@Stalfur if you’re using Firefox, use SHIFT-click to get the “original” context menu back.

תגובה מאת artus70 על 19 בפברואר 2017 בשעה 14:41

@mcld or, to say it even more clearly: SHIFT-right_click resp. SHIFT-CTRL-click on a Mac.

תגובה מאת dikkeknodel על 20 בפברואר 2017 בשעה 03:18

@mcld @Tom Thanks for this great feature, I’ve been doing workarounds for years. @Minh Nguyen I did not know that drag and drop solution unfortunately, that is actually quite useful! Thanks for that too.

תגובה מאת PlaneMad על 20 בפברואר 2017 בשעה 13:28

Thank you for your work mcld! This opens up room to add so many more features that anyone using to a modern map these days is used to.

תגובה מאת Omnific על 22 בפברואר 2017 בשעה 23:24

Fantastic job!

נא להיכנס כדי להשאיר תגובה