1
0
forked from MTSR/mapserver

html fixes

This commit is contained in:
Thomas Rudin 2019-02-08 17:29:50 +01:00
parent 582c7b06b8
commit 9186c4ded3

View File

@ -20,10 +20,10 @@ var CoordinatesDisplay = L.Control.extend({
function update(){
var html = "";
if (hoverCoord)
html += = "X=" + parseInt(hoverCoord.lng) + " Z=" + parseInt(hoverCoord.lat);
html = html + "X=" + parseInt(hoverCoord.lng) + " Z=" + parseInt(hoverCoord.lat);
if (clickCoord)
html += = " (marked: X=" + parseInt(clickCoord.lng) + " Z=" + parseInt(clickCoord.lat) + ")";
html = html + " (marked: X=" + parseInt(clickCoord.lng) + " Z=" + parseInt(clickCoord.lat) + ")";
div.innerHTML = html;
}