@razi91/types-ol-ext
Version:
Type definitions for ol-ext
21 lines (13 loc) • 455 B
TypeScript
import GeolocationDraw, { GeolocationDrawOptions } from '../interaction/GeolocationDraw';
import { Map as _ol_Map_ } from 'ol';
import Toggle from './Toggle';
export interface Options extends GeolocationDrawOptions {
className?: string;
title?: string;
delay?: number;
}
export default class GeolocationButton extends Toggle {
constructor(options? : Options)
setMap(map: _ol_Map_): void;
getInteraction(): GeolocationDraw
}