I want to catch the copy event that is fired when the user presses Ctrl+C . For some reasons it is not fired when the user interacts with the map. I've tried to automatically set the focus on the #map div, but it didn't help.
Here is a working example of a div that gets the oncopy event http://jsfiddle.net/669a62dn/ document.getElementById('map').addEventListener('copy', function (e) {
console.log(e);
});
And here's a map that doesn't work: http://jsfiddle.net/b4ueu63f/
Any help is appreciated. Thanks!