Skip to content

Commit

Permalink
修改链接
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoubichuan committed Jan 23, 2024
1 parent 1bb8748 commit 892fdc8
Show file tree
Hide file tree
Showing 72 changed files with 329 additions and 271 deletions.
6 changes: 3 additions & 3 deletions src/base/attribute/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ meta:
OpenLayers 是一个用于开发 WebGIS 客户端的 JavaScript 包,其设计之意是为互联网客户端提供强大的地图展示功能,包括地图数据显示与相关操作,并具有灵活的扩展机制
:::

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-0-0.vue" />
<Container url="/resume/?type=openlayers&name=1-1-0-0.vue" />

::: details 查看代码详情

Expand All @@ -36,7 +36,7 @@ View 是一个地图组件,在初始化 Map 的时候需要指定一个 View
- 中心点
- 投影坐标

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-0-2.vue" />
<Container url="/resume/?type=openlayers&name=1-1-0-2.vue" />

::: details 查看代码详情

Expand Down Expand Up @@ -103,7 +103,7 @@ curFeature.getGeometry().getCoordinates(); //此方法返回一个数组,x轴

- 投影 projection 有 2 种:

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-0-3.vue" />
<Container url="/resume/?type=openlayers&name=1-1-0-3.vue" />

::: details 查看代码详情

Expand Down
4 changes: 2 additions & 2 deletions src/base/attribute/1.map.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Openlayers 通过 new Map 实例化地图模型,通过标签 id 挂载到 dom

- 通过`target`属性实现挂载

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-1-1.vue" />
<Container url="/resume/?type=openlayers&name=1-1-1-1.vue" />

::: details 查看代码详情

Expand All @@ -49,7 +49,7 @@ Openlayers 通过 new Map 实例化地图模型,通过标签 id 挂载到 dom

切换不同的地图容器

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-1-1-1.vue" />
<Container url="/resume/?type=openlayers&name=1-1-1-1-1.vue" />

::: details 查看代码详情

Expand Down
2 changes: 1 addition & 1 deletion src/base/attribute/10.overlays.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ meta:
## 1.叠加


<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-10-1.vue" />
<Container url="/resume/?type=openlayers&name=1-1-10-1.vue" />

::: details 查看代码详情

Expand Down
18 changes: 9 additions & 9 deletions src/base/attribute/11.interactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ meta:
| 方向键平移 | KeyboardPan | 使用键盘方向键平移地图 |
| 鼠标滚轮缩放 | MouseWheelZoom | 鼠标滚轮缩放地图 |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-11-1.vue" />
<Container url="/resume/?type=openlayers&name=1-1-11-1.vue" />

::: details 查看代码详情

Expand All @@ -69,7 +69,7 @@ meta:
| 方向键平移 | KeyboardPan | 使用键盘方向键平移地图 |
| 鼠标滚轮缩放 | MouseWheelZoom | 鼠标滚轮缩放地图 |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-11-2.vue" />
<Container url="/resume/?type=openlayers&name=1-1-11-2.vue" />

::: details 查看代码详情

Expand All @@ -91,7 +91,7 @@ meta:

- 全屏拖动、旋转和缩放

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-11-5.vue" />
<Container url="/resume/?type=openlayers&name=1-1-11-5.vue" />

::: details 查看代码详情

Expand All @@ -111,7 +111,7 @@ meta:

绘制地理要素功能

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-11-8.vue" />
<Container url="/resume/?type=openlayers&name=1-1-11-8.vue" />

::: details 查看代码详情

Expand All @@ -138,7 +138,7 @@ meta:
| select | 选择要素功能 |
| modify | 更改要素 |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-11-12.vue" />
<Container url="/resume/?type=openlayers&name=1-1-11-12.vue" />

::: details 查看代码详情

Expand All @@ -156,7 +156,7 @@ meta:
| --------- | ------------------------ |
| pinchzoom | 手指进行缩放,针对触摸屏 |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-11-15.vue" />
<Container url="/resume/?type=openlayers&name=1-1-11-15.vue" />

::: details 查看代码详情

Expand All @@ -168,7 +168,7 @@ meta:

鼠标的用户自定义事件基类

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-11-16.vue" />
<Container url="/resume/?type=openlayers&name=1-1-11-16.vue" />

::: details 查看代码详情

Expand All @@ -185,7 +185,7 @@ meta:
| modify | 更改要素 |
| snap | 鼠标捕捉,当鼠标距离某个要素一定距离之内,自动吸附到要素 |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-11-17.vue" />
<Container url="/resume/?type=openlayers&name=1-1-11-17.vue" />

::: details 查看代码详情

Expand All @@ -195,7 +195,7 @@ meta:

## 18.翻译功能

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-11-18.vue" />
<Container url="/resume/?type=openlayers&name=1-1-11-18.vue" />

::: details 查看代码详情

Expand Down
4 changes: 2 additions & 2 deletions src/base/attribute/12.interactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ meta:
| 方向键平移 | KeyboardPan | 使用键盘方向键平移地图 |
| 鼠标滚轮缩放 | MouseWheelZoom | 鼠标滚轮缩放地图 |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-12-1.vue" />
<Container url="/resume/?type=openlayers&name=1-1-12-1.vue" />

::: details 查看代码详情

Expand All @@ -30,7 +30,7 @@ meta:

使用拖放交互与图像矢量渲染的示例。

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-12-2.vue" />
<Container url="/resume/?type=openlayers&name=1-1-12-2.vue" />

::: details 查看代码详情

Expand Down
8 changes: 5 additions & 3 deletions src/base/attribute/13.deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ meta:

切换不同图层

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-13-1.vue" />
<Container url="/resume/?type=openlayers&name=1-1-13-1.vue" />

::: details 查看代码详情

<<< components/demo/1-1-13-1.vue
:::

## 2.瓦片图加载事件

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-13-2.vue" />
<Container url="/resume/?type=openlayers&name=1-1-13-2.vue" />

::: details 查看代码详情

<<< components/demo/1-1-13-2.vue
<<< components/demo/1-1-13-2.vue
:::
10 changes: 5 additions & 5 deletions src/base/attribute/2.map.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ meta:

鼠标单击地图触发的事件(鼠标若在 250ms 内连续单击地图,则不会触发该事件)

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-2-1.vue" />
<Container url="/resume/?type=openlayers&name=1-1-2-1.vue" />

::: details 查看代码详情

Expand All @@ -36,7 +36,7 @@ meta:
| pointermove | 鼠标指针在地图上移动触发的事件 |
| getView | 获取地图视图 |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-2-1-2.vue" />
<Container url="/resume/?type=openlayers&name=1-1-2-1-2.vue" />

::: details 查看代码详情

Expand All @@ -54,7 +54,7 @@ meta:

地图开始移动时触发的事件(包括平移和缩放)

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-2-2-1.vue" />
<Container url="/resume/?type=openlayers&name=1-1-2-2-1.vue" />

::: details 查看代码详情

Expand All @@ -66,7 +66,7 @@ meta:

地图结束移动时触发的事件(包括平移和缩放)

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-2-2-2.vue" />
<Container url="/resume/?type=openlayers&name=1-1-2-2-2.vue" />

::: details 查看代码详情

Expand All @@ -86,7 +86,7 @@ meta:

- 天地图+加涟漪效果案例

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-2-2-3.vue" />
<Container url="/resume/?type=openlayers&name=1-1-2-2-3.vue" />

::: details 查看代码详情

Expand Down
12 changes: 6 additions & 6 deletions src/base/attribute/3.view.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ View 相关属性与作用
| ------ | --------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| center | 视图的初始中心,如果未设置用户投影,则使用 projection 选项指定中心的坐标系。如果未设置,则不会获取图层源,但是稍后可以使用设置中心 | 坐标[x, y] |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-3-1.vue" />
<Container url="/resume/?type=openlayers&name=1-1-3-1.vue" />

::: details 查看代码详情

Expand All @@ -37,7 +37,7 @@ View 相关属性与作用

- `zoom`属性

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-3-2.vue" />
<Container url="/resume/?type=openlayers&name=1-1-3-2.vue" />

::: details 查看代码详情

Expand All @@ -50,7 +50,7 @@ View 相关属性与作用
- setMaxZoom 为视图设置新的最大缩放级别。
- setMinZoom 为视图设置新的最小缩放级别。

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-3-3.vue" />
<Container url="/resume/?type=openlayers&name=1-1-3-3.vue" />

::: details 查看代码详情

Expand All @@ -65,7 +65,7 @@ View 相关属性与作用
| maxZoom | 用于确定分辨率约束的最大缩放级别 | - |
| minZoom | 用于确定分辨率约束的最小缩放级别 | - |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-3-4.vue" />
<Container url="/resume/?type=openlayers&name=1-1-3-4.vue" />

::: details 查看代码详情

Expand All @@ -83,7 +83,7 @@ View 相关属性与作用
| minResolution | 用于确定分辨率约束的最低分辨率 | - |
| maxResolution | 用于确定分辨率约束的最大分辨率 | - |

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-3-5.vue" />
<Container url="/resume/?type=openlayers&name=1-1-3-5.vue" />

::: details 查看代码详情

Expand All @@ -102,7 +102,7 @@ View 相关属性与作用

可用作 XYZ 的 Retina / HiDPI 墨卡托图块 (512x512px) 示例。

<Container url="https://zhoubichuan.com/resume/demo/?type=openlayers&name=1-1-3-6.vue" />
<Container url="/resume/?type=openlayers&name=1-1-3-6.vue" />

::: details 查看代码详情

Expand Down
Loading

0 comments on commit 892fdc8

Please sign in to comment.