#
luxiaotao1123
2024-03-15 b06da9c41231c5ea277e1106ec7224b76bdb7807
#
1个文件已修改
17 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/map/utils.js 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/utils.js
@@ -279,6 +279,23 @@
    return options;
}
/**
 *     //
    let sprite = mapContainer.children[0];
    let bounds = sprite.getBounds();
    console.log(bounds, sprite.getLocalBounds());
    console.log(sprite.position);
    console.log('-');
    console.log(mapContainer.scale, mapContainer.position);
    console.log('===========');
    return;
 */
export const adaptScreen = () => {
    if (!mapContainer || !app) {
        return;