Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Nov 16, 2023
1 parent 1ff9810 commit 3302bf2
Show file tree
Hide file tree
Showing 27 changed files with 118 additions and 656 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```
42 changes: 42 additions & 0 deletions packages/gi-assets-basic/src/components/ContextMenu/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title: 右键菜单
order: 0
group:
title: 基础资产
path: /basic
nav:
title: 资产包
path: /assets
order: 1
---

```jsx
import * as React from 'react';
import { GISDK_TEST } from '@antv/gi-sdk';
import * as Assets from '@antv/gi-assets-basic';
import Asset from './index.tsx';

const { registerMeta, info } = Asset;

const App = () => {
return (
<div>
<GISDK_TEST
assets={Assets}
activeAssets={[
{
id: 'ContextMenu',
type: 'GICC_MENU',
},
{
id: 'RemoveNodeWithMenu',
type: 'GIAC_MENU',
},
]}
/>
</div>
);
};

export default App;
```
4 changes: 0 additions & 4 deletions packages/gi-assets-basic/src/components/DownLoad/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```
4 changes: 0 additions & 4 deletions packages/gi-assets-basic/src/components/FitCenter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```
4 changes: 0 additions & 4 deletions packages/gi-assets-basic/src/components/FitView/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,3 @@ const App = () => {

export default App;
```

```
```
4 changes: 0 additions & 4 deletions packages/gi-assets-basic/src/components/LassoSelect/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```
4 changes: 0 additions & 4 deletions packages/gi-assets-basic/src/components/Loading/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```
4 changes: 0 additions & 4 deletions packages/gi-assets-basic/src/components/MiniMap/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```
30 changes: 30 additions & 0 deletions packages/gi-assets-basic/src/components/NeighborsQuery/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: 邻居查询
order: 0
group:
title: 基础资产
path: /basic
nav:
title: 资产包
path: /assets
order: 1
---

```jsx
import * as React from 'react';
import { GISDK_TEST } from '@antv/gi-sdk';
import * as Assets from '@antv/gi-assets-basic';
import Asset from './index.tsx';

const { registerMeta, info } = Asset;

const App = () => {
return (
<div>
<GISDK_TEST assets={Assets} activeAssets={[info]} />
</div>
);
};

export default App;
```
4 changes: 0 additions & 4 deletions packages/gi-assets-basic/src/components/NodeLegend/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ const App = () => {

export default App;
```

```
```

This file was deleted.

115 changes: 0 additions & 115 deletions packages/gi-assets-basic/src/components/OperatorHeader/Component.tsx

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3302bf2

Please sign in to comment.