From b06da9c41231c5ea277e1106ec7224b76bdb7807 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 15 三月 2024 12:51:35 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/map/utils.js | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/zy-asrs-flow/src/pages/map/utils.js b/zy-asrs-flow/src/pages/map/utils.js
index 4582016..4970d4c 100644
--- a/zy-asrs-flow/src/pages/map/utils.js
+++ b/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;
--
Gitblit v1.9.1