Skip to content

Documentation / @geoverse/react / GvPathSimplifierProps

Type Alias: GvPathSimplifierProps

ts
type GvPathSimplifierProps = {
  autoStart?: boolean;
  fitView?: boolean;
  options?: Omit<PathSimplifierOptions, "mapObj">;
} & Partial<Record<TrackEventName, (evt) => void>>;

Defined in: react/src/components/tools.tsx:32

Type Declaration

autoStart?

ts
optional autoStart?: boolean;

挂载即播放,默认 false

fitView?

ts
optional fitView?: boolean;

自适应视野,默认 false

options?

ts
optional options?: Omit<PathSimplifierOptions, "mapObj">;