Use correct URL for problem report control

This commit is contained in:
Tom Hughes 2015-07-17 22:36:57 +01:00
parent 899891fe8a
commit 67e77fd20e

View file

@ -51,7 +51,7 @@ window.onload = function () {
L.Control.OSMReportAProblem = L.Control.Attribution.extend({
options: {
position: 'bottomright',
prefix: '<a href="http://www.openstreetmap.org/fixthemap#{z}/{x}/{y}">Report a problem</a>'
prefix: '<a href="http://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}">Report a problem</a>'
},
onAdd: function (map) {