html fixes
This commit is contained in:
parent
582c7b06b8
commit
9186c4ded3
@ -20,10 +20,10 @@ var CoordinatesDisplay = L.Control.extend({
|
|||||||
function update(){
|
function update(){
|
||||||
var html = "";
|
var html = "";
|
||||||
if (hoverCoord)
|
if (hoverCoord)
|
||||||
html += = "X=" + parseInt(hoverCoord.lng) + " Z=" + parseInt(hoverCoord.lat);
|
html = html + "X=" + parseInt(hoverCoord.lng) + " Z=" + parseInt(hoverCoord.lat);
|
||||||
|
|
||||||
if (clickCoord)
|
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;
|
div.innerHTML = html;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user