//=0?"N":"S"; var lonstr =lng>=0?"E":"W"; lat = Math.abs(lat); lon = Math.abs(lng); lat = "000" + lat.toFixed(6); lon = "000" + lon.toFixed(6); latstr += lat.substr(lat.length - 9); lonstr += lon.substr(lon.length - 10); this.dispDiv.innerHTML = locapoint + " (" + latstr + "," + lonstr + ")"; this.dispDiv.style.color = map.getCurrentMapType().getTextColor(); if(document.getElementById("LPdispDiv")){ var lpdispDiv = document.getElementById("LPdispDiv"); lpdispDiv.innerHTML = locapoint; lpdispDiv.title = latstr + "," + lonstr; } } //]]>