I really like the gmaps right click functionality.
It could have the following items:
Zoom in
Zoom out
Center map here
Edit
Report an issue
I'd be happy to implement this if there is some consensus
Well I don't see any benefit to the first two, and the third is pretty minimal.
The big problem with right click menus is that they prevent access to the normal browser right click menu, which can be a major pain, so I think there needs to be a really good case made before going this way.
The main thing I would use the right click menu for on Google is accessing routing, which obviously isn't an issue for us right now. That said I can certainly see things that it could be useful for, such as a more focused version of the "show data" that would attempt to identify the object(s) near the mouse.
Of the thing you mention I would think that "report an issue" is the only one where a right click menu would offer a significant advantage, probably followed by "center map here".
Yes, the "report an issue" is the most important of these. What triggered this report was this note:
http://www.openstreetmap.org/?note=1316
The user reports a missing optrician at Mehringplatz, but the note is actually somewhere else.
Most likely, the user clicked "Add a note" but didn't realize that he could/should reposition the marker.
We could add an "What's here" item and the get rid of the "where am I" button.
Btw, on Firefox/Chrome I don't get anything useful in the native menu:
Nothing particular useful for a tiled map.
Well "Inspect element with Firebug" is probably my most used one as a developer ;-)
I use Inspect Elements as well; but it's certainly not a usecase for your average user. And those who know what inspect element is, probably also know how to invoke it some other way (ctrl+alt+i I believe)
One other thing to think about, once in awhile I'l come across a stubborn tile that even after a couple of days won't refresh. Right click allows me to open the image in a new tab (Chromium) and then append /status or /dirty to refresh the tile. If this menu was put in at least /status would probably want to be kept. I don't know if making /dirty that visible would be a good idea though... If people misunderstood what it did they could put more strain than necessary on the rendering servers.
Alternative: if there is a marker, say after a search has taken place, clicking on that could present the user with
'edit', 'report a problem', etc.
A more general set of details as per openlinkmap would be a nice addition, but not strictly needed.
I really need to implement right click on map,
any one suggest me how can i implement it.
@amtbhanderi This is not the right forum for questions about how to do things on your own site - for that you should consult general forms on web site design and programming, or forums relating to the map display software you are using.
FWIW, I've implemented a right-click menu in this fork, while trying to help with the routing UI (#716):
https://github.com/danstowell/openstreetmap-website/tree/jsrouting-contextmenu
As you see in that fork, you can use 'contextmenu' event in JQuery. (I haven't positioned the menu under the mouse cursor tho.)
IMHO, context menu is pointless for most of the actions given as examples at the top of this thread (zoom/edit/etc) but very relevant for actions relating to specific LatLng positions: "Directions from here", "Data around here" etc.
Thanks @danstowell i think this help me a lot.
Here's my proposed content:
I think we should not make duplications of UI, so IMO zoom/edit buttons are enough.
It would be great if menu appearance will be identical to this from iD editor.
iD menu:

And how it could look like:

Note: Icons will be different, of course ;)
I'm bumping this proposal now that we have routing capabilities for the end user.
When wanting to select a source and destination for routing, manually typing the addresses is not always feasible (one may not know it and just see it on the map). By now the only way to select as source/address a given point (coordinates) is dragging the green/red marker, which is not very handy (specially for touchpads).
Having a right-click menu "Routes from here" / "To here" (or maybe others as well) would be appreciated.
The native right-click menu of the browser, would be overwritten, yes. But I don't see the use of any of its options available when clicking on the tiles.
I use right click "open tile image in a new window" often. There i can force a refresh after an edit.
It would be a win-win situation to have such option in the new "custom" right click menu. It could also be made more explicit for non-power users.
@javiribera @HolgerJeromin A good solution would be to call the normal browser menu by pressing e.g. Ctrl + right click. It's better than merging the "map menu" and browser-specific menu.
@Rezonansowy That's also a good idea!
nobody would find that functionality... 8-/
@HolgerJeromin We can mention this in the documentation.
@HolgerJeromin the (current) right-click menu options on the slippymap are only of interest to advanced users. Document it properly, we'll be fine. I like the Ctrl+RightClick suggestion
Even i have never read (or want to read) the documentation of an interactive map website...
BTW which documentation of the osm mainpage do you mean?
http://wiki.openstreetmap.org/wiki/Browsing probably...
If a regular menu, the ctrl-right-click _could_ be indicated at the bottom (ie. where people don't look as much, and requiring further movement).
Re content of the menu, the graphhopper routing menu from right-click is perhaps pertinent?
People, you can bikeshed what options should be on the menu as much as you like, but nothing is going to happen until somebody steps up to actually write the damned thing.
@tomhughes We know it. It's open-source and everyone can do. Don't worry about too much work. ;)
@tomhughes I see that @danstowell implemented the right-click menu in his fork – see https://github.com/openstreetmap/openstreetmap-website/issues/251#issuecomment-47629056
@Rezonansowy that fork is old, I think @neiljp gave a good clue of how to implement it better - considering doing it
Here you go, a first draft of a context-menu for osm.org using leaflet.contextmenu:
https://github.com/danstowell/openstreetmap-website/tree/leafletcontextmenu
Might work on it more this weekend

On my Firefox, holding Shift lets me access the "traditional" context menu. On my Chromium I don't see how to do it.
Share this position could be added.
Most helpful comment
Here you go, a first draft of a context-menu for osm.org using leaflet.contextmenu:
https://github.com/danstowell/openstreetmap-website/tree/leafletcontextmenu
Might work on it more this weekend
On my Firefox, holding Shift lets me access the "traditional" context menu. On my Chromium I don't see how to do it.