新增区域选择后,调整地图核心位置
This commit is contained in:
parent
0e088ce932
commit
1a3cf99c5f
|
|
@ -656,6 +656,7 @@ var APPMAP;
|
||||||
vtype: vtype,
|
vtype: vtype,
|
||||||
allinfo: 'all'
|
allinfo: 'all'
|
||||||
}, true);
|
}, true);
|
||||||
|
this.citySyncMap(this.selectMap);
|
||||||
};
|
};
|
||||||
return selectMap;
|
return selectMap;
|
||||||
}(initialMap));
|
}(initialMap));
|
||||||
|
|
|
||||||
|
|
@ -919,6 +919,9 @@ namespace APPMAP {
|
||||||
vtype: vtype,
|
vtype: vtype,
|
||||||
allinfo: 'all'
|
allinfo: 'all'
|
||||||
}, true)
|
}, true)
|
||||||
|
|
||||||
|
// 调整地图核心位置
|
||||||
|
this.citySyncMap(this.selectMap)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -940,7 +943,6 @@ namespace APPMAP {
|
||||||
new selectMap()
|
new selectMap()
|
||||||
// 测试时自动启动模态框
|
// 测试时自动启动模态框
|
||||||
// $('button[data-target="#selectMapId"]').click()
|
// $('button[data-target="#selectMapId"]').click()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue