| | |
| | | if (distance <= 1.9) { |
| | | if (coincidentPoints.indexOf(i) == -1) { |
| | | coincidentPoints.push(i); |
| | | winfowText +='<p id="' + i + '" onclick="openInfo(this)" onmousemove="red(this.id)" onmouseout="black(this.id)">' + "时间:" + sensorInfo[i].时间 + "</p>"; |
| | | } |
| | | coincidentPoints.push(j); |
| | | count++; |
| | |
| | | } |
| | | |
| | | if (coincidentPoints.indexOf(i) > -1) { |
| | | winfowText = '<p id="' + i + '" onclick="openInfo(this)" onmousemove="red(this.id)" onmouseout="black(this.id)">' + "时间:" + sensorInfo[i].时间 + "</p>" + winfowText + "</div>"; |
| | | winfowText = winfowText + "</div>"; |
| | | } else { |
| | | for (var prop in sensorInfo[i]) { |
| | | if (sensorInfo[i].hasOwnProperty(prop)) { |