Link to location in table/ now uses OSM, our default

closes #278
This commit is contained in:
Jan-Piet Mens
2019-01-11 11:52:10 +01:00
parent 5020658174
commit 1ae80efbc6
+1 -1
View File
@@ -284,7 +284,7 @@
visible: true,
data: null,
render : function(data, type, row) {
var t = "<a target='_new' href='http://maps.google.com/?q={{lat}},{{lon}}'>{{addr}}</a>";
var t = "<a target='_new' href='http://www.openstreetmap.org/?mlat={{lat}}&mlon={{lon}}'>{{addr}}</a>";
return Mustache.render(t, data);
},
"targets" : [10],