]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/embed.js.erb
Make MapQuest API key conditional
[rails.git] / app / assets / javascripts / embed.js.erb
index d5231fea450ad255ec93e9d11efb6d84b5755a73..ca5594459101720b3e95d297c40411e9a21ba1b8 100644 (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) {