From 5662a8178281c2c228a1d785d01534e24e68c64b Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Mon, 23 Mar 2026 13:02:18 +0000
Subject: [PATCH] 发布1.0.45版本 1、去除开启地形探测模式 2、修复拨盘问题 3、修复上一版本terrainUrlIsSct的初始化问题。 4、修复上一版本更新时的报错问题

---
 src/example/ExampleDynamicBlcPage.js |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/example/ExampleDynamicBlcPage.js b/src/example/ExampleDynamicBlcPage.js
index 6d6b495..66dcc8f 100644
--- a/src/example/ExampleDynamicBlcPage.js
+++ b/src/example/ExampleDynamicBlcPage.js
@@ -1,6 +1,7 @@
 import React, {Component} from 'react'
 import './ExampleDrawPage.css'
 import {GIS} from "iclient3d-plot-diy";
+import {Button} from "antd";
 
 export default class ExampleDynamicDlcPage extends Component {
 
@@ -43,7 +44,7 @@
     render() {
         return (
             <div className={"example_draw_container"}>
-                <h3>切换比例尺</h3>
+                <h3>动态比例尺</h3>
                 <div className={"map_wrapper"}>
                     <GIS refs={(e) => this.mapFunction = e}
                          plotUrl={this.state.plotUrl}
@@ -52,6 +53,10 @@
                          iconScales={[[0, 100000], [100000, 500000], [500000, 1000000], [1000000, 2000000], [2000000, 20000000]]}
                     />
                 </div>
+                <Button type="primary" onClick={() => this.mapFunction.mapApiService.enableTilt()}>启用旋转和倾斜
+                </Button>
+                <Button type="primary" onClick={() => this.mapFunction.mapApiService.disableTilt()}>禁用旋转和倾斜
+                </Button>
                 <div className={"code_wrapper"}>
                     <div dangerouslySetInnerHTML={{__html: this.state.htmlString}}></div>
                 </div>

--
Gitblit v1.9.3