Skip to content

Documentation / @geoverse/vue / GvPathSimplifier

Variable: GvPathSimplifier

ts
const GvPathSimplifier: DefineComponent<ExtractPropTypes<{
  autoStart: {
     default: boolean;
     type: BooleanConstructor;
  };
  fitView: {
     default: boolean;
     type: BooleanConstructor;
  };
  options: {
     default: () => {
     };
     type: PropType<Omit<PathSimplifierOptions, "mapObj">>;
  };
}>, () => null, {
}, {
}, {
}, ComponentOptionsMixin, ComponentOptionsMixin, {
}, string, PublicProps, ToResolvedProps<ExtractPropTypes<{
  autoStart: {
     default: boolean;
     type: BooleanConstructor;
  };
  fitView: {
     default: boolean;
     type: BooleanConstructor;
  };
  options: {
     default: () => {
     };
     type: PropType<Omit<PathSimplifierOptions, "mapObj">>;
  };
}>, {
}>, {
  autoStart: boolean;
  fitView: boolean;
  options: Omit<PathSimplifierOptions, "mapObj">;
}, {
}, {
}, {
}, string, ComponentProvideOptions, true, {
}, any>;

Defined in: components/tools.ts:39

轨迹回放(抽稀 + 动画)。autoStart 控制挂载即播放,fitView 自适应视野。 播放控制可经组件 ref 拿到实例调用 start/pause/resume/stop