UNPKG

@signalk/resources-provider

Version:

Resources provider plugin for Signal K server.

8 lines (7 loc) 480 B
import { GeolibInputCoordinates } from 'geolib/es/types'; export declare const inBounds: (val: any, type: string, polygon: GeolibInputCoordinates[]) => boolean; /** Apply filters to Resource entry * returns: true if entry should be included in results **/ export declare const passFilter: (res: any, type: string, params: any) => boolean; export declare const processParameters: (params: any) => any; export declare const toPolygon: (bbox: number[]) => GeolibInputCoordinates[];