/**
* Created by Administrator on 2015/11/5.
*/
$.fn.vectorMap('addMap', 'us_aea_en',
{
"insets":
[
{"width": 220, "top": 440, "height": 146.9158157558812, "bbox": [{"y": -8441281.712315228, "x": -5263934.893342895}, {"y": -6227992.545028123, "x": -1949631.2950683108}], "left": 0},
{"width": 80, "top": 460, "height": 129.05725678001465, "bbox": [{"y": -4207380.690946597, "x": -5958501.652314129}, {"y": -3658201.4570359783, "x": -5618076.48127754}], "left": 245},
{"width": 900.0, "top": 0, "height": 550.2150229714246, "bbox": [{"y": -5490839.2352678, "x": -2029243.6460439637}, {"y": -2690044.485299302, "x": 2552083.9617675776}], "left": 0}
],
"paths": {
"BH-中国建设银行":{"path":"M567.065,977.503h56.717v120.192h-56.717V977.503z" , "name":"中国建设银行"},
"BH-煌上煌":{"path":"M726.819,646.031h103.775v49.061H726.819V646.031z" , "name":"煌上煌"},
"BH-佰汇服务中心":{"path":"M746.113,458.64v46.49v3.559v46.49h80.856v-46.49v-3.559v-46.49H746.113z" , "name":"佰汇服务中心"},
"BH-01":{"path":"M746.113,365.117h84.245v96.714h-84.245V365.117z" , "name":"none"},
"BH-九疑米粉":{"path":"M598.614,599.228v46.803v2.258v46.802h131.719v-46.802v-2.258v-46.803H598.614z" , "name":"九疑米粉"},
"BH-02":{"path":"M598.614,552.426h131.719v49.061H598.614V552.426z" , "name":"none"},
"BH-中国福利彩票":{"path":"M598.614,505.624h79.599v49.061h-79.599V505.624z" , "name":"中国福利彩票"},
"BH-03":{"path":"M598.614,459.134h79.599v49.061h-79.599V459.134z" , "name":"none"},
"BH-04":{"path":"M598.614,402.612h79.599v59.22h-79.599V402.612z" , "name":"none"},
"BH-黑龙茶":{"path":"M621.338,977.503h56.716v120.192h-56.716V977.503z" , "name":"黑龙茶"},
"BH-蒸美味":{"path":"M675.61,841.39h72.875v256.305H675.61V841.39z" , "name":"蒸美味"},
"BH-集信饮食":{"path":"M828.102,921.006h60.87v176.689h-60.87V921.006z" , "name":"集信饮食"},
"BH-衣生衣世":{"path":"M828.102,841.39h60.87v81.99h-60.87V841.39z" , "name":"衣生衣世"},
"BH-佰汇公寓酒店":{"path":"M886.33,549.978h61.136v142.816H886.33V549.978z" , "name":"佰汇公寓酒店"},
"BH-水果美容体":{"path":"M889.937,505.13h74.252v47.925h-74.252V505.13z" , "name":"水果美容体"},
"BH-纤艺美甲":{"path":"M889.937,460.764h74.252v47.924h-74.252V460.764z" , "name":"纤艺美甲"},
},
"height":1200.333,//地图的高
"projection":
{
"type": "aea",
"centralMeridian": -100.0
}, "width": 2384.0//地图宽
});
onViewportChange: function(e, scale, transX, transY){
console.log('viewportChange', scale, transX, transY);
var old = parseInt($("text").css("fontSize"));
console.log("字体大小:" + old);
if( scale < 2.5 || scale == 2.5 ){
$("text").hide();
}
else if(scale > 2.5 && scale < 3.5 || scale == 3.5){
$("text").css("fontSize", 9);
$("text").show();
}
else if(scale > 3.5 && scale < 4.5 || scale == 4.5){
$("text").css("fontSize", 10);
$("text").show();
}
else if(scale > 4.5 && scale < 5.5 || scale == 5.5){
$("text").css("fontSize", 14);
$("text").show();
}
else{
$("text").css("fontSize", 16);
$("text").show();
}
},
onMarkerOver: function(event, index){
console.log('marker-over', index);
},
onMarkerOut: function(event, index){
console.log('marker-out', index);
},
onMarkerClick: function(event, index){
console.log('marker-click', index);
},
onMarkerSelected: function(event, index, isSelected, selectedMarkers){
console.log('marker-select', index, isSelected, selectedMarkers);
if (window.localStorage) {
window.localStorage.setItem(
'jvectormap-selected-markers-BH-1',
JSON.stringify(selectedMarkers)
);
}
},
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有