# GeoMapStreamSource

The GeoMapStreamSource type declaration and related types. Optional fields are marked with ?.

Canonical: https://chart.syidax.com/docs/types/GeoMapStreamSource/

<a id="declaration"></a>

## Type declaration

```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;
}
```

<a id="related"></a>

## Related types

- [GeoMapPointInput](https://chart.syidax.com/docs/types/GeoMapPointInput.md)
- [GeoMapDeclaration](https://chart.syidax.com/docs/types/GeoMapDeclaration.md)
- [GeoMapStreamEvent](https://chart.syidax.com/docs/types/GeoMapStreamEvent.md)
