UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

7 lines (6 loc) 214 B
/** * Use in slider, given a number and an array of numbers, return the nears number from the array * @param value * @param marks */ export declare function snapToMarks(value: number, marks: number[]): number;