Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/231.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/kotlin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Android中获得给定一个特定Geohash的Geohash邻居_Android_Kotlin_Geofire_Geohashing - Fatal编程技术网

如何在Android中获得给定一个特定Geohash的Geohash邻居

如何在Android中获得给定一个特定Geohash的Geohash邻居,android,kotlin,geofire,geohashing,Android,Kotlin,Geofire,Geohashing,我需要在google maps for Android中绘制任意精度的可见geohash 此时,我可以使用GeoFireUtils库获取特定的geohash 例如: GeoFireUtils.getGeoHashForLocation(geoLocationCenter, 6) result -> sp3e3m 但是我怎样才能找到周围的邻居呢 我怎样才能得到geohash边界的坐标呢?在geofireutils中,我只能得到geohash的“中心”,并对其进行解码,但不能得到边界框

我需要在google maps for Android中绘制任意精度的可见geohash

此时,我可以使用GeoFireUtils库获取特定的geohash

例如:

GeoFireUtils.getGeoHashForLocation(geoLocationCenter, 6)

result -> sp3e3m
但是我怎样才能找到周围的邻居呢

我怎样才能得到geohash边界的坐标呢?在geofireutils中,我只能得到geohash的“中心”,并对其进行解码,但不能得到边界框