| | |
| | | <div id="dakai" style="position: absolute; float: left;left: 50px;top: 10px;z-index: 999;"> |
| | | <a href="#" class="button white medium">打开信息窗口</a> |
| | | </div> |
| | | <!-- <input type="button" id="genzong" onclick="genzong()" value="跟踪"> --> |
| | | <div id="guanbi" style="position: absolute; float: left;left: 50px;top: 10px;z-index: 999;display: none;"> |
| | | <a href="#" class="button white medium">关闭信息窗口</a> |
| | | </div> |
| | |
| | | imagePre: '../image/targeticon', |
| | | mapKey: '28a58cf8-841b-sdfedddd-8cf5-f1a', |
| | | // setHeight: 160, |
| | | // maxPitch: 60, |
| | | maxPitch: 88, |
| | | backgroundColor: '#effafe', |
| | | zoomViewVisible: false, |
| | | // floorViewVisible: false |
| | |
| | | } |
| | | var timer = setInterval(fn, 300); |
| | | |
| | | function genzong() { |
| | | console.log(map.getCenter()) |
| | | var point = new GHMap.Point(12737817.071,4585815.582,0); |
| | | map.setCenter(point,true); |
| | | } |
| | | |
| | | function fn() { |
| | | var personlist1 = getRealPositionsan(); |
| | | var personlist = []; |