-
-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of github.com:zouyaoji/vue-cesium into dev
- Loading branch information
Showing
8 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<!-- | ||
* @Author: zouyaoji@https://github.com/zouyaoji | ||
* @Date: 2021-09-03 16:57:27 | ||
* @LastEditTime: 2023-08-01 11:14:52 | ||
* @LastEditors: zouyaoji [email protected] | ||
* @LastEditTime: 2023-12-13 10:33:36 | ||
* @LastEditors: ly | ||
* @Description: | ||
* @FilePath: \vue-cesium@next\README.md | ||
* @FilePath: \vue-cesium\README.md | ||
--> | ||
<p align="center"> | ||
<img width="256px" src="https://zouyaoji.top/vue-cesium/images/vue-cesium-logo.svg"> | ||
|
@@ -75,6 +75,7 @@ the project will install all dependencies. | |
With command | ||
|
||
```bash | ||
$ pnpm gen:version | ||
$ pnpm website-dev | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<!-- | ||
* @Author: zouyaoji@https://github.com/zouyaoji | ||
* @Date: 2021-04-29 16:12:05 | ||
* @LastEditTime: 2023-08-01 11:05:07 | ||
* @LastEditors: zouyaoji [email protected] | ||
* @LastEditTime: 2023-12-27 10:28:42 | ||
* @LastEditors: ly | ||
* @Description: | ||
* @FilePath: \vue-cesium@next\README.zh.md | ||
* @FilePath: \vue-cesium\README.zh.md | ||
--> | ||
<p align="center"> | ||
<img width="256px" src="https://zouyaoji.top/vue-cesium/images/vue-cesium-logo.svg"> | ||
|
@@ -77,6 +77,7 @@ $ pnpm i | |
命令 | ||
|
||
```bash | ||
$ pnpm gen:version | ||
$ pnpm website-dev | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
/* | ||
* @Author: zouyaoji@https://github.com/zouyaoji | ||
* @Date: 2021-10-13 09:45:59 | ||
* @LastEditTime: 2023-03-13 17:52:59 | ||
* @LastEditTime: 2023-12-06 00:13:43 | ||
* @LastEditors: zouyaoji [email protected] | ||
* @Description: | ||
* @FilePath: \vue-cesium@next\packages\composables\use-drawing\use-drawing-fab.ts | ||
* @FilePath: \vue-cesium\packages\composables\use-drawing\use-drawing-fab.ts | ||
*/ | ||
import { VcCollectionPrimitive } from '@vue-cesium/components/primitive-collections' | ||
import type { VcFabProps, VcFabRef } from '@vue-cesium/components/ui' | ||
|
@@ -169,6 +169,11 @@ export default function ( | |
return Cartesian3.clone(position, result) | ||
} | ||
} | ||
} else { | ||
position = scene.pickPosition(windowPosition, cartesianScratch) | ||
if (defined(position)) { | ||
return Cartesian3.clone(position, result) | ||
} | ||
} | ||
} | ||
if (defined(scene.globe)) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* @Date: 2023-08-18 00:56:13 | ||
* @Description: Do not edit | ||
* @LastEditors: zouyaoji [email protected] | ||
* @LastEditTime: 2023-10-31 22:33:58 | ||
* @LastEditTime: 2023-12-06 15:54:24 | ||
* @FilePath: \vue-cesium\packages\shared\extends\materials\MaterialExtend.ts | ||
*/ | ||
|
||
|
@@ -12,7 +12,6 @@ import { VcCircleWaveMaterial, VcLineFlowMaterial } from '@vue-cesium/shared/sha | |
let isExtended = false | ||
export default class MaterialExtend { | ||
static extend(viewer: Cesium.Viewer) { | ||
console.log('asdf', viewer) | ||
if (isExtended) { | ||
return | ||
} | ||
|