Thanks to a post in Spatial Notes Blog I’ve finally found a cross-browser way to handle right click on an OL map, I’ve been using an homebrew solution only to discover how it did not work correctly in MSIE.

The proposed solution involves a custom control subclass and the standard OL machinery, the MSIE oddities are handled internally by OL itself.

It's only fair to share...Tweet about this on TwitterShare on FacebookShare on LinkedInPin on PinterestShare on RedditShare on Google+