From 9f6d02dc2c2647076d4b56fce62a347188462c5a Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Mon, 01 Sep 2025 14:45:18 +0000
Subject: [PATCH] update version
---
public/example/ExampleDynamicBlcPage.md | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/public/example/ExampleDynamicBlcPage.md b/public/example/ExampleDynamicBlcPage.md
index 632a1b8..c67e769 100644
--- a/public/example/ExampleDynamicBlcPage.md
+++ b/public/example/ExampleDynamicBlcPage.md
@@ -4,7 +4,8 @@
```jsx
import React, {Component} from 'react'
import './ExampleDrawPage.css'
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
+import {Button} from "antd";
export default class ExampleDynamicDlcPage extends Component {
@@ -31,7 +32,7 @@
componentDidMount() {
- fetch('./example/ExampleBlcPage.md')
+ fetch('./example/ExampleDynamicDlcPage.md')
.then(response => response.text())
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
@@ -56,6 +57,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