UNPKG

s2maps-gpu

Version:

S2 Maps GPU - An open source, high-performance, and GPU-accelerated map engine for rendering large-scale, interactive maps.

10 lines (9 loc) 394 B
import type { Feature } from '../process.spec.js'; import type { GlyphObject } from '../glyph/glyph.spec.js'; /** * Sort features or glyph features * @param a - first feature * @param b - comparison feature * @returns a negative value if a < b, 0 if a === b, and a positive value if a > b */ export declare function featureSort(a: Feature | GlyphObject, b: Feature | GlyphObject): number;