API REFERENCE

GeoMapStreamSource

GeoMapStreamSource 타입 선언과 관련 타입입니다. 선택 필드는 ?로 표시됩니다.

타입 선언

typescript
export interface GeoMapStreamSource {
  readonly length: number;
  readonly capacity: number;
  readonly dropped: number;
  push(point: GeoMapPointInput): void;
  pushBatch(points: ReadonlyArray<GeoMapPointInput>): void;
  shift(count: number): void;
  replace(points: ReadonlyArray<GeoMapPointInput>): void;
  snapshot(): GeoMapDeclaration[];
  subscribe(listener: (event: GeoMapStreamEvent) => void): () => void;
}