From d7cf323b9315000b03e7f73b9ea818e54e7c8e51 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Sun, 21 Sep 2025 13:23:06 +0000
Subject: [PATCH] 1、增加getAllDraw()方法 2、增加默认初始化参数2dMap的功能,设置为true,表示默认为2d地图 3、修改线在加载地形的时候会出现空间断层的问题 4、修复动态修改颜色的bug 5、简标文本与详标文本对齐 6、修复扇形与面的显示问题
---
public/example/ExampleDynamicBlcPage.md | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/public/example/ExampleDynamicBlcPage.md b/public/example/ExampleDynamicBlcPage.md
index d9d228c..c67e769 100644
--- a/public/example/ExampleDynamicBlcPage.md
+++ b/public/example/ExampleDynamicBlcPage.md
@@ -5,6 +5,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 {
@@ -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