@math.gl/geohash
Version:
Math for the GeoHash DGGS (Discrete Global Grid System)
11 lines • 544 B
TypeScript
/** Return center lng,lat of geohash cell */
export declare function getGeohashLngLat(geohash: string): number[];
/** Return boundary polygon of geohash cell as lng,lat array */
export declare function getGeohashBoundary(geohash: string): number[][];
/** Return boundary polygon of geohash cell as flat array */
export declare function getGeohashBoundaryFlat(geohash: string): number[];
/**
* @note Adapted from ngeohash decode_bbox
*/
export declare function getGeohashBounds(geohash: string): number[];
//# sourceMappingURL=geohash.d.ts.map