From c4de1a95624e2f3d257a9777b60028196a3b08fe Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Tue, 09 Dec 2025 02:59:35 +0000
Subject: [PATCH] * 1.0.33 ``` 1、修复双色线异常 2、修复重复加载svg文件的问题,同步解决大量军标点的性能问题。 3、修复2d下比例尺设置的问题 4、修复DrawEnd事件在重启修改时,无法触发的问题。 5、修复2d下触发材料问题 ```

---
 public/example/ExampleBlcPage.md |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/public/example/ExampleBlcPage.md b/public/example/ExampleBlcPage.md
index 0f59875..9d6198c 100644
--- a/public/example/ExampleBlcPage.md
+++ b/public/example/ExampleBlcPage.md
@@ -15,6 +15,7 @@
         super(props);
         this.state = {
             htmlString: '<h3>正在加载中...</h3>',
+            scale: 0
         };
     }
 
@@ -53,6 +54,9 @@
                 this.setState({htmlString: window.marked.parse(mdText)});
             });
         //监听拨盘事件
+        this.mapFunction.addScaleListener((scale) => {
+            this.setState({scale: scale});
+        })
     }
 
     showData() {
@@ -82,6 +86,7 @@
                 <Button type="primary" onClick={() => this.setCameraHeightByScale(2500)}>1:2500</Button>
                 <Button type="primary" onClick={() => this.setCameraHeightByScale(10000)}>1:10000</Button>
                 <Button type="primary" onClick={() => this.setCameraHeightByScale(50000)}>1:50000</Button>
+                <span>当前比例尺: {this.state.scale}</span>
                 <div className={"code_wrapper"}>
                     <div dangerouslySetInnerHTML={{__html: this.state.htmlString}}></div>
                 </div>

--
Gitblit v1.9.3