Skip to content

Commit

Permalink
docs: 📝 updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyaoji committed Aug 18, 2023
1 parent 63885d3 commit 2f196cf
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion website/docs/en-US/datasources/vc-datasource-custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Basic usage of VcDatasourceCustom component.
material: {
fabric: {
type: 'VcLineFlow',
uniforms: { image: '/images/textures/arrow.png', color: 'yellow', repeat: { x: 30, y: 1 }, speed: 10 }
uniforms: { image: 'https://zouyaoji.top/vue-cesium/images/textures/arrow.png', color: 'yellow', repeat: { x: 30, y: 1 }, speed: 10 }
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/geometries/vc-geometry-wall.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Basic usage of VcGeometryWall component.
material: {
fabric: {
type: 'VcLineFlow',
uniforms: { image: '/images/textures/fence.png', axisY: true, color: '#bdf700', repeat: { x: 5, y: 1 }, speed: 5 }
uniforms: { image: 'https://zouyaoji.top/vue-cesium/images/textures/fence.png', axisY: true, color: '#bdf700', repeat: { x: 5, y: 1 }, speed: 5 }
}
}
}}"
Expand Down
7 changes: 6 additions & 1 deletion website/docs/en-US/graphics/vc-graphics-wall.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ Basic usage of the VcGraphicsWall component.
<vc-graphics-wall
ref="wall2"
:positions="[-107,43,100000,-97,43,100000,-97,40,100000,-107,40,100000,-107,43,100000]"
material="green"
:material="{
fabric: {
type: 'VcLineFlow',
uniforms: { image: 'https://zouyaoji.top/vue-cesium/images/textures/fence.png', axisY: true, color: '#bdf700', repeat: { x: 5, y: 1 }, speed: 5 }
}
}"
:outline="true"
></vc-graphics-wall>
</vc-entity>
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/datasources/vc-datasource-custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
material: {
fabric: {
type: 'VcLineFlow',
uniforms: { image: '/images/textures/arrow.png', color: 'yellow', repeat: { x: 30, y: 1 }, speed: 10 }
uniforms: { image: 'https://zouyaoji.top/vue-cesium/images/textures/arrow.png', color: 'yellow', repeat: { x: 30, y: 1 }, speed: 10 }
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/geometries/vc-geometry-wall.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
material: {
fabric: {
type: 'VcLineFlow',
uniforms: { image: '/images/textures/fence.png', axisY: true, color: '#bdf700', repeat: { x: 5, y: 1 }, speed: 5 }
uniforms: { image: 'https://zouyaoji.top/vue-cesium/images/textures/fence.png', axisY: true, color: '#bdf700', repeat: { x: 5, y: 1 }, speed: 5 }
}
}
}}"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-wall.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
:material="{
fabric: {
type: 'VcLineFlow',
uniforms: { image: '/images/textures/fence.png', axisY: true, color: '#bdf700', repeat: { x: 5, y: 1 }, speed: 5 }
uniforms: { image: 'https://zouyaoji.top/vue-cesium/images/textures/fence.png', axisY: true, color: '#bdf700', repeat: { x: 5, y: 1 }, speed: 5 }
}
}"
></vc-graphics-wall>
Expand Down

0 comments on commit 2f196cf

Please sign in to comment.