From 8bda1f7325f3a990e0e96304cc14959047098fc0 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Mon, 10 Nov 2025 09:20:30 +0000
Subject: [PATCH] 增加相关样例

---
 public/example/ExampleFlyPage.md |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/public/example/ExampleFlyPage.md b/public/example/ExampleFlyPage.md
index f2d45b0..66dff62 100644
--- a/public/example/ExampleFlyPage.md
+++ b/public/example/ExampleFlyPage.md
@@ -4,7 +4,7 @@
 ```jsx
 import React, {Component} from 'react'
 import './ExampleDrawPage.css'
-import {GIS, Bp} from "../iclient3d-plot-diy";
+import {GIS, Bp} from "iclient3d-plot-diy";
 import {interval, take} from "rxjs";
 
 const Cesium = window['Cesium'];
@@ -85,7 +85,8 @@
             "useModify": false,
             "lon": arr[0].lon,
             "lat": arr[0].lat,
-            "height": arr[0].height || 0,
+            xz: true,
+            "height": arr[0].height,
             points: []
         }
         this.mapFunction.mapApiService.showDrawDatas([option]);
@@ -94,6 +95,7 @@
             this.mapFunction.mapApiService.updateDraw("ccccc", {
                 lon: arr[number].lon,
                 lat: arr[number].lat,
+                height: arr[number].height,
                 points: arr.slice(0, number)
             });
         });

--
Gitblit v1.9.3