UNPKG

@fleet-frontend/mower-maps

Version:

a mower maps in google maps

19 lines 1.05 kB
type fnPixelPositionOffset = (offsetWidth: number, offsetHeight: number) => { x: number; y: number; }; export declare function createOverlay(container: HTMLElement, pane: keyof google.maps.MapPanes, position?: google.maps.LatLng | google.maps.LatLngLiteral | undefined, bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | undefined, getPixelPositionOffset?: fnPixelPositionOffset | undefined, rotate?: number, onDraw?: (v: Record<string, any>) => void): { container: HTMLElement; pane: keyof google.maps.MapPanes; position: google.maps.LatLng | google.maps.LatLngLiteral | undefined; bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | undefined; rotate: number; updateBounds(bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral): void; updatePosition(position: google.maps.LatLng | google.maps.LatLngLiteral): void; updateRotate(s: number): void; onAdd(): void; draw(): void; onRemove(): void; }; export {}; //# sourceMappingURL=overlay.d.ts.map