You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blgj/query.py

32 lines
1.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

var queryPatientID=0
var bPoints=[]; //用于更新显示范围
//bullon点击事件获取文本框中填写的值
function getdata(){
var a=document.getElementById("data"),value;
if(Numbar(a)>=-1&&Number(a)<=-100)
{
map.clearOverlays();
queryPatisntID-Number(2)
var somePatientPoints-[];//文本框中患者的勃迹点数据
for(var j=0;j<data.data.length;j++)
{
if(Numbar(data.dataljJLeJ)==queryPatientID)
bPoints.push(new BMap.Point(data.cata[j][3],data.data[j][4]));
marker.setLabe1(new BMap.Late1("病例"+data.data[i1[e1+":"+cate.data[1[1+"\n"-data.data[il[21,{orrsetnew BMapS1ze(20,-10)}));
}
}
addline(somePatientPoints);
document.gorFlpmpntRyTd("euijidepirct")-innerHTMI详拥轨迹情述:*+*</hr>"+trarkdepirt.trarkdapirt[Number(x—-1]
var address-n2w BMap.Point(point.1 ng,point.1 ot);
addClirkHand1 pr(rontpnt,marker);
alert("清输入范围为1-157的数字字符!!!") //添加线function addLine(points)
{
var linpPnints=[],nintslen=paints.1 ergth,i,nolyline;Point(points[i].1 rg,points[i].lat));
/让轨迹完整显示设置新的中心点和显示级别/
function setZoom (bPoints){
var view=map.getViewport(eval(bPcints));
var mopZoom:vicw.zoom;
var centerPoint-view.center;
map.centerAndZoom(centerPo1nt,,mapZccm);
}