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

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,
allinfo: 'all'
}, true);
this.citySyncMap(this.selectMap);
};
return selectMap;
}(initialMap));

View File

@ -919,6 +919,9 @@ namespace APPMAP {
vtype: vtype,
allinfo: 'all'
}, true)
// 调整地图核心位置
this.citySyncMap(this.selectMap)
}
}
@ -940,7 +943,6 @@ namespace APPMAP {
new selectMap()
// 测试时自动启动模态框
// $('button[data-target="#selectMapId"]').click()
}
}
}