新增区域选择后,调整地图核心位置

This commit is contained in:
cloud 2020-12-30 20:48:44 +08:00
parent 0e088ce932
commit 1a3cf99c5f
2 changed files with 4 additions and 1 deletions

View File

@ -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));

View File

@ -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()
} }
} }
} }