毕业论文

打赏
当前位置: 毕业论文 > 计算机论文 >

南京市土地出让查询系统设计(5)

时间:2022-02-06 20:16来源:毕业论文
pointArray[i] = new BMap。Point(data。JW[i]。pointLon, data。JW[i]。pointLat); };来~自,优^尔-论;文*网www.youerw.com +QQ752018766- var polygon = new BMap。Polygon(pointArray, { strokeColor

pointArray[i] = new BMap。Point(data。JW[i]。pointLon, data。JW[i]。pointLat);

};来~自,优^尔-论;文*网www.youerw.com +QQ752018766-

var polygon = new BMap。Polygon(pointArray, {

strokeColor: "#FF8C00",

fillColor: "yellow",

strokeWeight: 1,

strokeOpacity: 0。7

});

var point = new BMap。Point(data。JW[0]。pointLon, data。JW[0]。pointLat);

var iconImg = new BMap。Icon(data。icon, new BMap。Size(32, 32));

var marker = new BMap。Marker(point, { icon: iconImg });

map。addOverlay(marker);

var label = new BMap。Label(data。title, { "offset": new BMap。Size(22, 22) });

marker。setLabel(label);

label。setStyle({

borderColor: "#808080",

color: "#333",

cursor: "pointer"

});

function showInfo() {

map。centerAndZoom(point, 17);

}

marker。addEventListener("click", showInfo);

marker。disableMassClear();

polygon。disableMassClear();

map。addOverlay(polygon);

(function () {

var _data = data;

var _iw = createInfoWindow(_data);

var _marker = marker;

_marker。addEventListener("click", function () {

this。openInfoWindow(_iw);

map。centerAndZoom(point, 17);

});

_iw。addEventListener("open", function () {

_marker。getLabel()。hide();

})

_iw。addEventListener("close", function () {

_marker。getLabel()。show();

})

label。addEventListener("click", function () {

_marker。openInfoWindow(_iw);

})

if (!!data。isOpen) {

label。hide();

_marker。openInfoWindow(_iw);

}

function createInfoWindow(data) {

var iw = new BMap。InfoWindow("<p class='iw_poi_title' title='" + j + "'>宗地编号:" + data。title + "&nbsp;&nbsp;&nbsp;&nbsp;<span style='color:blue'>已成交</span></p><p>成交日期:" + data。datetime + "</p><p>竞得单位:" + data。jingdefang + "</p><p>地块位置:" + data。location + "</p><p>地块面积:" + data。areas + "(平方米)</p><p>成交总价:" + data。chengjiaoprice + "(万元)</p><p>楼面价格:" + data。floorprice + "(元/m<sup>2</sup>)<

南京市土地出让查询系统设计(5):http://www.youerw.com/jisuanji/lunwen_89282.html
------分隔线----------------------------
推荐内容