Skip to Content
🎲 欢迎使用 RandBox - 功能强大的 JavaScript 随机数据生成库! 了解详情

geohash

// 用法 randBox.geohash() randBox.geohash({ length: 5 })

生成一个随机地理哈希。更多关于地理哈希是什么的详细信息 

randBox.geohash() => 'h9xhn7y'

默认情况下,包含 7 个字符的精度。可以使用 length 选项覆盖。

randBox.geohash({ length: 5 }) => 'dr0kr'
最后更新于: