interface MapControl<M> {
    getContainer?(): HTMLElement;
    onAdd(map?: M): undefined | HTMLElement;
    onRemove(map?: M): unknown;
    remove?(): void;
}

Type Parameters

  • M = any

Methods