diff --git a/README.md b/README.md index 69a9e7b..6352703 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,16 @@ cesium 军事标绘插件,支持绘制多边形、曲线、箭头等图形 - + -[在线示例:demo](https://ethan-zf.github.io/cesium-plot-js/examples/index.html) +淡入淡出效果: + + + +生长动画: + + +在线示例: [demo](https://ethan-zf.github.io/cesium-plot-js/examples/index.html) ### CDN @@ -107,23 +114,22 @@ const geometry = new CesiumPlot.FineArrow(Cesium, viewer, { ### 类的实例方法 -| 方法名 | 参数 | 描述 | -| ------ | --------------------------------------------------------------------- | ---------------------------------------------------- | -| hide | options?: [VisibleAnimationOpts](#VisibleAnimationOpts) | 隐藏,options 可配置过度动画,参数缺省时,不显示动画 | -| show | options?: [VisibleAnimationOpts](#VisibleAnimationOpts) | 显示,options 可配置过度动画,参数缺省时,不显示动画 | -| remove | | 删除 | -| on | (event: [EventType](#EventType), listener: (eventData?: any) => void) | 绑定事件 | -| off | (event: [EventType](#EventType)) | 解绑事件 | +| 方法名 | 参数 | 描述 | +| -------------------- | --------------------------------------------------------------------- | ---------------------------------------------------- | +| hide | options?: [AnimationOpts](#AnimationOpts) | 隐藏,options 可配置动画参数,参数缺省时,不显示动画 | +| show | options?: [AnimationOpts](#AnimationOpts) | 显示,options 可配置动画参数,参数缺省时,不显示动画 | +| startGrowthAnimation | options?: [AnimationOpts](#AnimationOpts) | 生长动画,options 可配置动画参数 | +| remove | | 删除 | +| on | (event: [EventType](#EventType), listener: (eventData?: any) => void) | 绑定事件 | +| off | (event: [EventType](#EventType)) | 解绑事件 | -