echarts 修改

This commit is contained in:
cwchen 2025-09-22 15:40:33 +08:00
parent 0c3af55fb3
commit 578d4a87ee
2 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ function map(dataMap) {
echarts.registerMap('anhui', geoJson);
myChart.hideLoading();
let max = 480,
min = 1.1; // todo
min = 1.2; // todo
let maxSize4Pin = 100,
minSize4Pin = 100;

View File

@ -105,7 +105,7 @@ function createMap() {
terrainMap = new BMap.Map("allMap", {
mapType: BMAP_HYBRID_MAP
}); // 创建Map实例
terrainMap.centerAndZoom('吉林', 8); // 初始化地图,设置中心点坐标和地图级别
terrainMap.centerAndZoom('长春', 8); // 初始化地图,设置中心点坐标和地图级别
//添加地图类型控件
// terrainMap.addControl(new BMap.MapTypeControl({
// mapTypes: [
@ -113,7 +113,7 @@ function createMap() {
// BMAP_HYBRID_MAP
// ]
// }));
terrainMap.setCurrentCity("吉林"); // 设置地图显示的城市 此项是必须设置的
terrainMap.setCurrentCity("长春"); // 设置地图显示的城市 此项是必须设置的
}
// 创建地图
@ -121,7 +121,7 @@ function createMap2() {
terrainMap = new BMap.Map("allMap", {
// mapType: BMAP_HYBRID_MAP
}); // 创建Map实例
terrainMap.centerAndZoom('吉林', 8); // 初始化地图,设置中心点坐标和地图级别
terrainMap.centerAndZoom('长春', 8); // 初始化地图,设置中心点坐标和地图级别
//添加地图类型控件
// terrainMap.addControl(new BMap.MapTypeControl({
// mapTypes: [
@ -129,7 +129,7 @@ function createMap2() {
// BMAP_HYBRID_MAP
// ]
// }));
// terrainMap.setCurrentCity("吉林"); // 设置地图显示的城市 此项是必须设置的
// terrainMap.setCurrentCity("长春"); // 设置地图显示的城市 此项是必须设置的
}
//设置区域图 start