This avoids closing whatever site the user was looking at when they
spotted he problem, and avoid problems when the embedded map is part
of an iframe as the problem report page denies embedding.
L.Control.OSMReportAProblem = L.Control.Attribution.extend({
options: {
position: 'bottomright',
L.Control.OSMReportAProblem = L.Control.Attribution.extend({
options: {
position: 'bottomright',
- prefix: '<a href="http://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}">Report a problem</a>'
+ prefix: '<a href="http://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}" target="_blank">Report a problem</a>'
},
onAdd: function (map) {
},
onAdd: function (map) {